You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug #50552 [Security] Allow custom scheme to be used as redirection URIs (Spomky)
This PR was merged into the 5.4 branch.
Discussion
----------
[Security] Allow custom scheme to be used as redirection URIs
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | yes
| New feature? | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets | Fix #50500
| License | MIT
| Doc PR | not needed
ping `@sdespont` and `@MatTheCat`
This PR aims at fixing the redirection issue where only URLs starting with `http` are allowed.
With the modified behavior, it is now allowed to use any URL scheme. It will be possible to redirect to `android-app://com.google.android.gm/`.
~In addition, it prevents the redirection to the following URLs:~
* ~With path traversal e.g. `https://example.com/foo/../../.htpasswd`~
* ~With protocol-relative e.g. `//malicious.app/foo/bar`~
Commits
-------
3a6969f363 [Security] Allow custom scheme to be used as redirection URIs
0 commit comments