Fix localize_path with custom protocol identifiers
This commit is contained in:
parent
61051a44cc
commit
56fa8f1d58
2 changed files with 18 additions and 3 deletions
|
|
@ -3675,7 +3675,7 @@ String String::simplify_path() const {
|
|||
if (p > 0) {
|
||||
bool only_chars = true;
|
||||
for (int i = 0; i < p; i++) {
|
||||
if (!is_ascii_char(s[i])) {
|
||||
if (!is_ascii_alphanumeric_char(s[i])) {
|
||||
only_chars = false;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue