Open-AudIT
https://www.open-audit.org/phpBB3/

Missing \ solved in Winventory
https://www.open-audit.org/phpBB3/viewtopic.php?f=8&t=1247
Page 1 of 1

Author:  rudig [ Thu Aug 17, 2006 10:29 pm ]
Post subject:  Missing \ solved in Winventory

Hi,

This was code that was added in the winventory Audit.vbs by tomo_xy, see this link:

[url]http://winventory.sourceforge.net/phpbb2/viewtopic.php?t=814&start=0&postdays=0&postorder=asc&highlight=[/url]

[code]
function clean(value)
if isnull(value) then value = ""
value = Replace(value, chr(34), "")
value = Replace(value, chr(39), "")
value = Replace(value, vbCr, "")
value = Replace(value, vbLf, "")
value = Replace(value, "'", "")
value = Replace(value, "\", "\\")
value = Replace(value, "\0", "\0")
if right(value, 1) = "\" then
value = left(value, len(value) -1)
end if
if right(value, 1) = "\" then
value = left(value, len(value) -1)
end if
if right(value, 1) = "/" then
value = left(value, len(value) -1) + " "
end if
clean = value
end function [/code]

It would be great if it could be added again.

Cheers,


Rudi.

Page 1 of 1 All times are UTC + 10 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/