Created
May 14, 2023 14:28
-
-
Save boring-dragon/df256ee92f16507df1b37973096e2ce1 to your computer and use it in GitHub Desktop.
Spoof OAuth Callback : P
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| if (($path = ltrim($_SERVER['REQUEST_URI'], '/')) && !in_array(substr($path, 0, 1), array('?', '#', '/'))) { | |
| header("Location: $path"); | |
| exit; | |
| } | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
.htaccess