Commit 9645b9e
committed
minor symfony#60090 [HtmlSanitizer] reject URLs with URL-encoded non UTF-8 characters in the host part (xabbuh)
This PR was merged into the 6.4 branch.
Discussion
----------
[HtmlSanitizer] reject URLs with URL-encoded non UTF-8 characters in the host part
| Q | A
| ------------- | ---
| Branch? | 6.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues |
| License | MIT
following thephpleague/uri-interfaces@40f64d3
Commits
-------
1f3e0d8 reject URLs with URL-encoded non UTF-8 characters in the host partFile tree
2 files changed
+19
-3
lines changed- src/Symfony/Component/HtmlSanitizer
- Tests/TextSanitizer
- TextSanitizer
2 files changed
+19
-3
lines changedLines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
568 | 568 | | |
569 | 569 | | |
570 | 570 | | |
571 | | - | |
572 | | - | |
| 571 | + | |
| 572 | + | |
573 | 573 | | |
574 | 574 | | |
575 | 575 | | |
| |||
689 | 689 | | |
690 | 690 | | |
691 | 691 | | |
692 | | - | |
| 692 | + | |
693 | 693 | | |
694 | 694 | | |
695 | 695 | | |
| |||
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
103 | 107 | | |
104 | 108 | | |
105 | 109 | | |
| |||
139 | 143 | | |
140 | 144 | | |
141 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
142 | 158 | | |
0 commit comments