url: discard fragment if present
commit8a03ab184e622b002174e5a3eacfa8c51cedd952
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 2 Aug 2016 19:00:05 +0000 (2 22:00 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 2 Aug 2016 19:03:15 +0000 (2 22:03 +0300)
tree4aeea08ed63e58976f22f7d0f6ab324f460fc56d
parentb371cd2987dd2538061f11d7d3c557d551dbbd2f
url: discard fragment if present

If query string is absent and the fragment present, the path is
followed a hash sign. We need to discard to avoid invalid path.
src/text/url.c