Last modified: 2013-03-05 19:54:16 UTC
mw.uri.new throws an error if the URL passed to it ends with a question mark (i.e. an empty query string) or a pound sign (i.e. an empty fragment) mw.uri.new('http://www.example.com/foo?') ==> Lua error in mw.uri.lua at line 131: invalid .path. mw.uri.new('http://www.example.com/foo#') ==> Lua error in mw.uri.lua at line 131: invalid .path. These are valid URL's and should be parsed successfully.
Gerrit change #52192
Merged