server/apps/dav/tests/unit
Daniel Calviño Sánchez 2a7b1bae10 Reject X-OC-MTime header if given as a string with hexadecimal notation
In PHP 7.X hexadecimal notation support was removed from "is_numeric",
so "sanitizeMtime" directly rejected those values; in PHP 5.X, on the
other hand, "sanitizeMtime" returned 0 when a string with hexadecimal
notation was given (as it was the behaviour of "intval"). To provide a
consistent behaviour between PHP versions, and given that it does not
make much sense to send X-OC-MTime in hexadecimal notation, now
X-OC-MTime is always rejected if given as a string with hexadecimal
notation.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-11-28 01:08:52 +01:00
..
AppInfo Update license headers 2017-11-06 16:56:19 +01:00
Avatars Change @georgehrke's email 2017-11-06 20:38:59 +01:00
CalDAV Merge pull request #6840 from nextcloud/feature/5282/calendar_api 2017-11-16 21:10:35 +01:00
CardDAV Merge pull request #7075 from nextcloud/remove-unused-variables 2017-11-07 16:18:40 +01:00
Comments Update license headers 2017-11-06 16:56:19 +01:00
Connector Reject X-OC-MTime header if given as a string with hexadecimal notation 2017-11-28 01:08:52 +01:00
DAV Change @georgehrke's email 2017-11-06 20:38:59 +01:00
Files Update license headers 2017-11-06 16:56:19 +01:00
Migration Update license headers 2017-11-06 16:56:19 +01:00
Settings Change @georgehrke's email 2017-11-06 20:38:59 +01:00
SystemTag Update license headers 2017-11-06 16:56:19 +01:00
Upload Update license headers 2017-11-06 16:56:19 +01:00
bootstrap.php Fix apps/ 2016-07-21 18:13:57 +02:00
CapabilitiesTest.php Update license headers 2017-11-06 16:56:19 +01:00
phpunit.xml Adding AvatarHomeTest 2017-03-29 00:04:29 +02:00
ServerTest.php Update license headers 2017-11-06 16:56:19 +01:00