]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
Improve annoying URL parameters cleaning:
authornodiscc <nodiscc@gmail.com>
Thu, 5 Mar 2015 12:33:30 +0000 (13:33 +0100)
committernodiscc <nodiscc@gmail.com>
Thu, 5 Mar 2015 12:33:30 +0000 (13:33 +0100)
commit403a19940961eaf3edae84c7e9c4fa0bd074e940
tree62779b934ec9599ea4a4c94b264b738f77dd1a8d
parentad2a397c66a3da8061564602b43db6f2002f0064
Improve annoying URL parameters cleaning:
 * Use regular expressions to avoid suplicating params depending on their position in the URL (&param=,?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)
index.php