Add regular expressions to the exclude parameters (#10846)
Allows to use regular expressions in the exclude parameters option. Doesn't break compatibility if the parameter is not a regular expression, doing a strict compare. "/.*/" can be used to exclude all parameters. * Changed the UI texts to explain that the excluding parameters list supports regular expressions. Added unit tests.
parent
ffc37961
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Affichage de
- core/UrlHelper.php 27 ajouts, 1 suppressioncore/UrlHelper.php
- plugins/SitesManager/lang/en.json 1 ajout, 1 suppressionplugins/SitesManager/lang/en.json
- plugins/SitesManager/tests/System/expected/test_SitesManager__SitesManager.getSiteSettings.xml 1 ajout, 1 suppression...ected/test_SitesManager__SitesManager.getSiteSettings.xml
- tests/PHPUnit/Integration/Tracker/ActionTest.php 15 ajouts, 0 suppressiontests/PHPUnit/Integration/Tracker/ActionTest.php
- tests/PHPUnit/Unit/UrlHelperTest.php 60 ajouts, 0 suppressiontests/PHPUnit/Unit/UrlHelperTest.php
Veuillez vous inscrire ou vous se connecter pour commenter