postrank-labs/postrank-uri — pull request #13 by kovyrin (2013-07-14 04:25:52+00:00)
Title: When canonicalizing a URL, do not keep an empty params string

When canonicalizing a URL, if we remove all params, I believe we do not need to keep an empty query string.

"http://foo.com/bar?utm_source=a" should be turned into "http://foo.com/bar" and not into "http://foo.com/bar?".