Branch: Tag:

2018-04-25

2018-04-25 10:00:05 by Karl Gustav Sterneberg <kg@roxen.com>

Configuration: Do not percent encode query part. [WS-261]

3084:       // HTTP transport encode the path.    // NB: This is required to make scan_for_query() happy. -  s = map(string_to_utf8(s)/"/", Protocols.HTTP.percent_encode) * "/"; +  s = string_to_utf8(s); +  sscanf(s, "%s?%s", string path, string query); +  s = map((path || s) / "/", Protocols.HTTP.percent_encode) * "/"; +  if (query) { +  s += "?" + query; +  }       fake_id->raw_url = s;