| 176 | } |
| 177 | |
| 178 | bool need_encoding(char const* str, int const len) |
| 179 | { |
| 180 | for (int i = 0; i < len; ++i) |
| 181 | { |
| 182 | if (std::strchr(unreserved_chars, *str) == nullptr || *str == 0) |
| 183 | return true; |
| 184 | ++str; |
| 185 | } |
| 186 | return false; |
| 187 | } |
| 188 | |
| 189 | void convert_path_to_posix(std::string& path) |
| 190 | { |
no outgoing calls