Fixes for url_encode()

Andreas Ericsson ae at op5.se
Sat Oct 23 12:21:45 CEST 2004


In the original CVS version of url_encode() only alphanumerical 
characters were left unencoded. This is in violation of RFC1866, which 
also excludes dots from url encoding schemes.

Standards compliant browsers (such as Mozilla Firefox) may experience 
problems with url encoded dots.

This patch includes dots ('.') in the characters not being url encoded 
and thus fixes the problem.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nagios-cgi-url_encode.diff
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20041023/0303061f/attachment.ksh>


More information about the Developers mailing list