-
Notifications
You must be signed in to change notification settings - Fork 537
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
Avoid two leading slashes in the request to create a new file #22563
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
3287936
to
87b99d1
Compare
⯅ @fluid-example/bundle-size-tests: +245 Bytes
Baseline commit: 0b17d50 |
@aboktor please make sure you get review and approval from someone on the framework team before merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Worth double-checking if such check should be done a bit earlier in the stack, i.e. is it the only place that is affected?
I considered that and decided against it. The safest is to make the change exactly where the leading '/' is being added (which is what I did in this PR). |
When using PFT+POP auth with ODSP, ODSP fails to validate the `p` field in the token when we have two leading slashes in the path. This is likely a bug in ODSP but it does result in cryptic 401 failure of the request.
When using PFT+POP auth with ODSP, ODSP fails to validate the `p` field in the token when we have two leading slashes in the path. This is likely a bug in ODSP but it does result in cryptic 401 failure of the request.
When using PFT+POP auth with ODSP, ODSP fails to validate the `p` field in the token when we have two leading slashes in the path. This is likely a bug in ODSP but it does result in cryptic 401 failure of the request.
When using PFT+POP auth with ODSP, ODSP fails to validate the `p` field in the token when we have two leading slashes in the path. This is likely a bug in ODSP but it does result in cryptic 401 failure of the request.
…file (#22563) (#22591) Cherry-pick: #22563 Co-authored-by: Andrew Boktor <[email protected]>
…file (#22588) Cherry-pick: #22563 Co-authored-by: Andrew Boktor <[email protected]>
…file (#22563) (#22589) Cherry-pick: #22563 Co-authored-by: Andrew Boktor <[email protected]>
…file (#22563) (#22590) Cherry-pick: #22563 Co-authored-by: Andrew Boktor <[email protected]>
Description
When using PFT+POP auth with ODSP, ODSP fails to validate the
p
field in the token when we have two leading slashes in the path. This is likely a bug in ODSP but it does result in cryptic 401 failure of the request.Breaking Changes
None
Reviewer Guidance
None