Skip to content
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

Add sample php referenced at OWASP. #1

Closed
wants to merge 1 commit into from
Closed

Conversation

akiko-pusu
Copy link
Owner

@akiko-pusu akiko-pusu commented Nov 16, 2018

@@ -0,0 +1,12 @@
<?php
/* Safe Redirect browser sample */
// header("Location: http://www.mysite.com/");
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Be careful unsafe redirect and forward code.
Unvalidated redirects and forwards are possible.
See: https://www.owasp.org/index.php/Unvalidated_Redirects_and_Forwards_Cheat_Sheet

link

コメント文のパターンマッチは検出しないようにしたい。

@akiko-pusu akiko-pusu closed this Nov 19, 2018
@akiko-pusu akiko-pusu deleted the sample_1 branch December 14, 2018 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant