[Mono-bugs] [Bug 654476] HttpRuntime::Validate incorrectly thinks ', ' is an invalid char

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Nov 18 07:38:46 EST 2010



--- Comment #4 from Marek Habersack <mhabersack at novell.com> 2010-11-18 13:38:45 CET ---
In general the patch is correct, with the exception that it doesn't handle
cases where the comma separated list has items with leading/trailing space or
consisting of more than one character, e.g.:

"%,  $,^#"

It think a String.Split would be more correct here, together with space
trimming and checking whether the list item is in fact a single character. The
result can be cached in a HttpRequest field for reuse.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list