Commit bb31450
committed
minor #7056 Warn user about open redirects (pascaldevink, javiereguiluz)
This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes #7056).
Discussion
----------
Warn user about open redirects
The `redirect()` method is open to open redirects if user input is directly passed as parameter. This is of course as intended, and most people would know directly passing user input is never wise, but I think that warning developers can not be done enough.
I hope this message is clear, but please let me know of any better wording or if the `tip` context is the right one to use here.
Commits
-------
8f77746 Reworded the caution about open redirects
4a4a5fa Warn user about open redirects1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
189 | 196 | | |
190 | 197 | | |
191 | 198 | | |
| |||
563 | 570 | | |
564 | 571 | | |
565 | 572 | | |
| 573 | + | |
| 574 | + | |
0 commit comments