]> git.immae.eu Git - github/wallabag/wallabag.git/commit
Refactor updateOriginUrl to include new behaviors behaviors
authorKevin Decherf <kevin@kdecherf.com>
Thu, 6 Sep 2018 20:26:20 +0000 (22:26 +0200)
committerKevin Decherf <kevin@kdecherf.com>
Mon, 22 Oct 2018 21:01:16 +0000 (23:01 +0200)
commite07fadea76aa7329c4b955a59e74cb867c733706
tree8dcc67b77766c59961d1764c33976b0aa62ac448
parent781864b9546b0ff2d6fe42ce72f78b8f40b785e9
Refactor updateOriginUrl to include new behaviors behaviors

- Leave origin_url unchanged if difference is an ending slash
- Leave origin_url unchanged if difference is scheme
- Ignore (noop) if difference is query string or fragment

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
src/Wallabag/CoreBundle/Helper/ContentProxy.php
tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php