Patch for ns_urldecode - not decoding + -> space:
in nsd/urlencode.c at line 113; broken version:
twobytes[2] = '\0';
while (*string != '\0') {
if (*string != '%') {
Ns_DStringNAppend(pds, string, 1);
++string;
} else {
fixed:
twobytes[2] = '\0';
while (*string != '\0') {
if (*string == '+') {
Ns_DStringNAppend(pds, " ", 1);
++string;
} else if (*string != '%') {
Jim
- Re: [AOLSERVER] ns_urldecode doesn't decode plus in 3.4 Jim Wilcoxson
