We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bd150e3 + 8f23a1d commit fc76310Copy full SHA for fc76310
url/src/host.rs
@@ -92,9 +92,7 @@ impl Host<String> {
92
let is_invalid_domain_char = |c| {
93
matches!(
94
c,
95
- '\0' | '\t'
96
- | '\n'
97
- | '\r'
+ | '\0'..='\u{001F}'
98
| ' '
99
| '#'
100
| '%'
@@ -108,6 +106,7 @@ impl Host<String> {
108
106
| '\\'
109
107
| ']'
110
| '^'
+ | '\u{007F}'
111
)
112
};
113
0 commit comments