Commit f1e5df6
Do not validate for http:// URLs in elements and attributes that are … (#2094)
…definitely part of a different namespace
Since the XML parser does not seem to have much support at all for
namespaces, this fix is very ... raw in that it only looks for a
namespace delimiter `:` and if we find that in an element, mark it as
ok. If we find it in an attribute, do not check it.
This fixes #2093
Co-authored-by: Evgueni Driouk <[email protected]>1 parent 630fd22 commit f1e5df6
File tree
3 files changed
+12
-1
lines changed- tools/packchk
- src
- test
- data/TestUrlHttps
- integtests/src
3 files changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
43 | 47 | | |
44 | 48 | | |
45 | 49 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
50 | 57 | | |
51 | 58 | | |
52 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
806 | 806 | | |
807 | 807 | | |
808 | 808 | | |
809 | | - | |
| 809 | + | |
810 | 810 | | |
811 | 811 | | |
812 | 812 | | |
| |||
0 commit comments