Branch: Tag:

2016-03-18

2016-03-18 13:03:21 by Anders Johansson <anders@roxen.com>

Added ":-url" quoting.

Solves [bug 7661 (#7661)].

2986:    case "url":    return http_encode_url (val);    +  case "-url": +  return http_decode_string (val); +     case "wml-url":    // Note: In 4.0 and earlier, this encoding was ambiguous since 8    // bit strings were %-encoded according to the ISO 8859-1 charset
3177:   //! meaning; see RFC 3986. This includes @expr{:@}, @expr{/@},   //! @expr{%@}, and quote chars. C.f. @[Roxen.http_encode_url].   //! + //! @value "-url" + //! Reverse @expr{"url"@} encoding. + //!   //! @value "cookie"   //! Nonstandard HTTP-style encoding for cookie values. The Roxen   //! HTTP protocol module automatically decodes incoming cookies