diff options
author | Gilles Roudière <gilles.roudiere@gmail.com> | 2022-10-19 18:23:20 +0200 |
---|---|---|
committer | Gilles Roudière <gilles.roudiere@gmail.com> | 2022-10-20 14:12:25 +0200 |
commit | 56fa8f1d58efd62f941e9fd94f6c3e156a8b7a6b (patch) | |
tree | 0a545f46c64ab08eb8c81547e963158e13b550e3 /core/string | |
parent | 61051a44ccacbe447f14538b5bb4b68a62fc896f (diff) |
Fix localize_path with custom protocol identifiers
Diffstat (limited to 'core/string')
-rw-r--r-- | core/string/ustring.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/string/ustring.cpp b/core/string/ustring.cpp index 2e0ad94fcf..c86c8316fe 100644 --- a/core/string/ustring.cpp +++ b/core/string/ustring.cpp @@ -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; } |