Okay.  I complied.  ;)

Their form kinda stinks in that indenting is lost.  Oh well.

J

>
> Would you mind submitting this as a Bug in the SourceForge
> Bug Tracker?
>
> http://sf.net/projects/aolserver
>
> -- Dossy
>
>
> On 2001.08.07, Jim Wilcoxson <[EMAIL PROTECTED]> wrote:
> > 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
>
> --
> Dossy Shiobara                       mail: [EMAIL PROTECTED]
> Panoptic Computer Network             web: http://www.panoptic.com/
>

Reply via email to