aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/AntiXSSTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Add helper to escape URLs.Harald Eilertsen2022-03-201-0/+20
| | | | | | | | | The escaping makes the URL safe for display and for use in HTML element attributes (such as href="..." etc), but does not guarantee that the URL itself is valid after conversion. This should be good enough for mitigating XSS issues caused by injecting html or javascript into a URL. Also probably good enough for _most_ normal URLs, but there may be devils hidden in the details somewhere.
* [TASK] Restructure tests/ folder.Klaus Weidenbach2016-10-191-0/+73
Move unit tests to tests/unit/. Get the old still working UnitTests into a working state again. Updated composer.json with required-dev packages. Create a new folder tests/acceptance for Behat functional/acceptance testing. Add a first Feature draft of a Behat functional test for local login.