Commit ebb9e65
committed
bug symfony#60292 [HttpFoundation] Encode path in
This PR was merged into the 6.4 branch.
Discussion
----------
[HttpFoundation] Encode path in `X-Accel-Redirect` header
| Q | A
| ------------- | ---
| Branch? | 6.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| License | MIT
The path in `X-Accel-Redirect` header needs to be encoded otherwise nginx fail when certain characters are present in it (like % or ?)
* rack/rack#1306
Commits
-------
bcf20bc [HttpFoundation] Fix: Encode path in X-Accel-Redirect headerX-Accel-Redirect header (Athorcis)File tree
2 files changed
+11
-2
lines changed- src/Symfony/Component/HttpFoundation
- Tests
2 files changed
+11
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
| 232 | + | |
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
| |||
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
317 | | - | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
318 | 326 | | |
319 | 327 | | |
320 | 328 | | |
| |||
361 | 369 | | |
362 | 370 | | |
363 | 371 | | |
| 372 | + | |
364 | 373 | | |
365 | 374 | | |
366 | 375 | | |
| |||
0 commit comments