Branch: Tag:

2001-01-14

2001-01-14 16:16:02 by Johan Sundström <oyasumi@gmail.com>

No longer turns a URI with an empty query segment "prot://authority/path?" into one without a query segment all together ("prot://authority/path"), which felt like a broken behaviour to me (even though I was probably guilty of writing the code in the first place :-).

Rev: lib/modules/Standards.pmod/URI.pike:1.5

3:      // Implemented by Johan Sundström and Johan Schön.   // Copyright (c) Roxen Internet Software 2001 - // $Id: URI.pike,v 1.4 2001/01/13 00:09:52 grubba Exp $ + // $Id: URI.pike,v 1.5 2001/01/14 16:16:02 jhs Exp $      #pragma strict_types   
220:       // Parse query information    sscanf(uri, "%s?%s", uri, query); -  if(query && !sizeof(query)) query = 0; +     debug("Found query %O", query);       // Parse path: