]> git.immae.eu Git - github/wallabag/wallabag.git/commit
EntriesExport: sanitize filename and fix tests
authorKevin Decherf <kevin@kdecherf.com>
Mon, 7 Jan 2019 22:50:08 +0000 (23:50 +0100)
committerKevin Decherf <kevin@kdecherf.com>
Tue, 8 Jan 2019 14:13:35 +0000 (15:13 +0100)
commitdac93644e8585cc6b2ea1a0409b11ed82bb8169d
tree6ac87a2f9e70f5ea2668e5d84e21dba5c85e2795
parentad5ef8bca0c0321f348dcf402e0a20791eca3f4d
EntriesExport: sanitize filename and fix tests

Filename will now only use a-zA-Z0-9-' and space.

Fixes remaining filename issue on #3811

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