diff options
author | nodiscc <nodiscc@gmail.com> | 2015-03-05 13:33:30 +0100 |
---|---|---|
committer | nodiscc <nodiscc@gmail.com> | 2015-03-05 13:33:30 +0100 |
commit | 403a19940961eaf3edae84c7e9c4fa0bd074e940 (patch) | |
tree | 62779b934ec9599ea4a4c94b264b738f77dd1a8d /tpl | |
parent | ad2a397c66a3da8061564602b43db6f2002f0064 (diff) | |
download | Shaarli-403a19940961eaf3edae84c7e9c4fa0bd074e940.tar.gz Shaarli-403a19940961eaf3edae84c7e9c4fa0bd074e940.tar.zst Shaarli-403a19940961eaf3edae84c7e9c4fa0bd074e940.zip |
Improve annoying URL parameters cleaning:
* Use regular expressions to avoid suplicating params depending on their position in the URL (¶m=,?param=)
* Only remove the relevant URL pattern and don't remove following params, fixes https://github.com/shaarli/Shaarli/issues/136
* Credits to Marcus Rohrmoser (https://github.com/mro)
Diffstat (limited to 'tpl')
0 files changed, 0 insertions, 0 deletions