[BUGFIX] Fix incomplete validation of source_host field 67/55467/3
authorFrank Naegler <frank.naegler@typo3.org>
Fri, 26 Jan 2018 21:50:52 +0000 (22:50 +0100)
committerAndreas Wolf <andreas.wolf@typo3.org>
Sat, 27 Jan 2018 13:00:45 +0000 (14:00 +0100)
commit641943f46df8ac8023e799a8508d070fdcf61fae
tree56586d5d80960840b1765a44b9a85a1726a0e97c
parentedfe775e9bc460dfe06219e839773e54d2c4a17a
[BUGFIX] Fix incomplete validation of source_host field

This patch complete the validation of source_host field and
add some tests for the server side validation.
Also a client side validation / manipulation is added.

Resolves: #83659
Releases: master
Change-Id: I5117bd353d116f1366ca779c37ba868fec9f34c8
Reviewed-on: https://review.typo3.org/55467
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Andreas Wolf <andreas.wolf@typo3.org>
Tested-by: Andreas Wolf <andreas.wolf@typo3.org>
typo3/sysext/redirects/Classes/Evaluation/SourceHost.php
typo3/sysext/redirects/Tests/Unit/Evaluation/SourceHostTest.php [new file with mode: 0644]