MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlNormalizeURIPath

Function xmlNormalizeURIPath

ThirdParty/libxml2/vtklibxml2/uri.c:1590–1593  ·  view source on GitHub ↗

* xmlNormalizeURIPath: * @path: pointer to the path string * * Applies the 5 normalization steps to a path string--that is, RFC 2396 * Section 5.2, steps 6.c through 6.g. * * Normalization occurs directly on the string, no new allocation is done * * Returns 0 or an error code */

Source from the content-addressed store, hash-verified

1588 * Returns 0 or an error code
1589 */
1590int
1591xmlNormalizeURIPath(char *path) {
1592 return(xmlNormalizePath(path, 0));
1593}
1594
1595static int is_hex(char c) {
1596 if (((c >= '0') && (c <= '9')) ||

Callers 2

handleURIFunction · 0.85
xmlBuildURISafeFunction · 0.85

Calls 1

xmlNormalizePathFunction · 0.85

Tested by 1

handleURIFunction · 0.68