unescape "~1" to tilde and "~0" to slash (order is important!)
| 12442 | |
| 12443 | /// unescape "~1" to tilde and "~0" to slash (order is important!) |
| 12444 | static void unescape(std::string& s) |
| 12445 | { |
| 12446 | replace_substring(s, "~1", "/"); |
| 12447 | replace_substring(s, "~0", "~"); |
| 12448 | } |
| 12449 | |
| 12450 | private: |
| 12451 | /*! |
no test coverage detected