svn_uri_canonicalize() - normalizing the escaping
> /** Return a new uri like @a uri, but transformed such that some types
> * of uri specification redundancies are removed.
> * This involves collapsing redundant "/./" elements, removing
> * multiple adjacent separator characters, removing trailing
> * separator characters, and possibly other semantically inoperative
> * transformations.
> * If @a uri starts with a schema, this function also normalizes the
> * escaping of the path component by unescaping characters that don't
> * need escaping and escaping characters that do need escaping but
> * weren't.
Why normalize only if it starts with a schema? That sounds likely to
confuse the user.
> * This functions supports URLs.
> * The returned uri may be statically allocated or allocated from @a pool.
> * @since New in 1.7.
> const char *
> svn_uri_canonicalize(const char *uri,
> apr_pool_t *pool);
Received on 2010-11-11 17:05:37 CET
This is an archived mail posted to the Subversion Dev