Skip to content

[stable27] encode filename trashbin restore - #40045

Merged
skjnldsv merged 1 commit into
stable27from
backport/27/encode-filename-trashbin-restore
Aug 25, 2023
Merged

[stable27] encode filename trashbin restore#40045
skjnldsv merged 1 commit into
stable27from
backport/27/encode-filename-trashbin-restore

Conversation

@kesselb

@kesselbkesselb commented Aug 25, 2023

Copy link
Copy Markdown
Contributor

Manual backport of #39842

Summary

As per xhr.spec.whatwg.org/#the-setrequestheader()-method and infra.spec.whatwg.org/#byte-sequences the header value must be in the range 0x20 (SP) to 0x7E (~) hence we need to encode everything else.

TODO

  • CI

Checklist

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
@kesselb
kesselb changed the base branch from master to stable27August 25, 2023 15:29
@kesselbkesselb changed the title Backport/27/encode filename trashbin restore[stable27] encode filename trashbin restoreAug 25, 2023
@kesselb

Copy link
Copy Markdown
ContributorAuthor

Sorry everyone, that was the wrong base 🥳 😆 🙈

@kesselbkesselb added this to the Nextcloud 27.1.0 milestone Aug 25, 2023
@kesselbkesselb added bug 3. to review Waiting for reviews labels Aug 25, 2023
@kesselbkesselb self-assigned this Aug 25, 2023
@skjnldsv
skjnldsv merged commit 9577f97 into stable27Aug 25, 2023
@skjnldsv
skjnldsv deleted the backport/27/encode-filename-trashbin-restore branch August 25, 2023 19:18
@blizzzblizzz mentioned this pull request Aug 29, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@kesselb@susnux@artonge@skjnldsv@Pytal