What steps will reproduce the problem?
1. You have a windows style path such as "C:\windows\hero.txt"
2. call GetValidInput with DirectoryPath regex or call encodeForHtml() after
canonicalizing this input string.
3. the result is unusable. All the "\" are stripped off and path is not usable
any more.
What is the expected output? What do you see instead?
It should only encode unwanted characters
What version of the product are you using? On what operating system?
ESAPI2.0RC10
Does this issue affect only a specified browser or set of browsers?
All
Please provide any additional information below.
string was - "C:\windows"
after canonicalization it becomes - "C:windows"
and similarly other "\" are removed.
Original issue reported on code.google.com by shilpi.a...@gmail.com on 30 Nov 2010 at 3:48
Original issue reported on code.google.com by
shilpi.a...@gmail.com
on 30 Nov 2010 at 3:48