Branch: Tag:

2014-04-15

2014-04-15 15:03:10 by Stephen R. van den Berg <srb@cuci.nl>

Roxen: Fixed quoting of URL in http_redirect().

Thanks to Stephen R. van den Berg <srb@cuci.nl> for the patch.

Fixes some of [bug 3310 (#3310)].

1435:    HTTP_WERR("Redirect -> "+url);       return http_status( http_code || Protocols.HTTP.HTTP_FOUND, -  "Redirect to " + url) +  "Redirect to " + html_encode_string(url))    + ([ "extra_heads":([ "Location":url ]) ]);   }