-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use rawurldecode for allowing "+" in guests emails #384
Conversation
Codecov Report
@@ Coverage Diff @@
## master #384 +/- ##
=========================================
Coverage 17.85% 17.85%
Complexity 96 96
=========================================
Files 11 11
Lines 532 532
=========================================
Hits 95 95
Misses 437 437
Continue to review full report at Codecov.
|
Assigned myself so I see this tomorrow and add some test scenario(s) for a guest with |
544c9f3
to
27bf89f
Compare
Rebased just now. The code in core master is getting closer to 10.4 happening, so time to look at this again. |
27bf89f
to
4891dff
Compare
4891dff
to
aa18647
Compare
@HanaGemela @micbar a guests app release is needed. |
Description
Use
rawurldecode
instead ofurldecode
for allowing+
in guests emails sinceurldecode
decodes also+
symbol to a space character.Related Issue
Requires Allow "+" character in usernames core#36613
Fixes https://github.com/owncloud/enterprise/issues/3712
also fixes password change test fails with stable10 #332 (the test steps about changing password of a guest user work fine now, so they are enabled again, see the last commit)
Motivation and Context
Since
urldecode
decodes also+
symbol to a space character it is not possible to create guest users having i.e. the following format[email protected]
, which is a perfectly fine format.How Has This Been Tested?
Manually by sharing with guest users having the
[email protected]
format over the sharing dialogue.Acceptance tests scenarios have been added - see 2nd commit.
Types of changes
Checklist: