]> source.dussan.org Git - nextcloud-server.git/commit
Escape filename in Content-Disposition 27354/head
authorLukas Reschke <lukas@statuscode.ch>
Wed, 2 Jun 2021 16:59:43 +0000 (18:59 +0200)
committerLukas Reschke <lukas@statuscode.ch>
Wed, 2 Jun 2021 17:22:17 +0000 (19:22 +0200)
commit377514aad14ad3c5297daf14b848ef470ae56f22
tree9e486a65b287e35631ca15154e739b8810cacea6
parent2637f92d96d13037aed82cec53765d3206af8a4e
Escape filename in Content-Disposition

We should escape all occurences of ' and \ in here.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
lib/public/AppFramework/Http/DownloadResponse.php
tests/lib/AppFramework/Http/DownloadResponseTest.php