[MDEV-23649] An invalid XML character in mysql_test_run output Created: 2020-09-02 Updated: 2020-11-23 Resolved: 2020-11-23 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Tests |
| Affects Version/s: | 10.2, 10.3, 10.4, 10.5 |
| Fix Version/s: | 10.2.37 |
| Type: | Bug | Priority: | Major |
| Reporter: | Oleksandr Byelkin | Assignee: | Rasmus Johansson (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Description |
|
there could be \007 in error messages which break XML
|
| Comments |
| Comment by Oleksandr Byelkin [ 2020-09-02 ] |
|
It looks like 007 coud be the only unprinted symbols (diff will not show something unprinted). So I will just filter out 007. |
| Comment by Sergei Golubchik [ 2020-09-02 ] |
|
another option would be to use xml 1.1, not xml 1.0 according to https://www.w3.org/TR/xml/#charsets, xml 1.0 allowed only #x9, #xA, and #xD from the ASCII control characters. but xml 1.1 (https://www.w3.org/TR/xml11/#charsets) allows everything, excluding only #x0 |
| Comment by Rasmus Johansson (Inactive) [ 2020-11-23 ] |
|
Fixed in |