[Spacewalk-devel] [PATCH] WebUI HTTP proxy validator doesn't check for special characters

2012-11-14 Thread Johannes Renner
Hello, I just extended the HostPortValidator class to check proxy hostnames against a regex defining a valid character set. It should allow letters (all languages), numbers, '.' and '-', but no whitespace or any special characters. See my attached patch. Greetings, Johannes -- SUSE LINUX

Re: [Spacewalk-devel] [PATCH] WebUI HTTP proxy validator doesn't check for special characters

2012-11-14 Thread Johannes Renner
On 11/14/2012 04:21 PM, Tomas Lestach wrote: On Wednesday 14 of November 2012 15:06:44 Johannes Renner wrote: Hello, I just extended the HostPortValidator class to check proxy hostnames against a regex defining a valid character set. It should allow letters (all languages), numbers, '.' and