Previous RFC had path parameters as separate component. With current RFC,
each path element can contain own path parameters.
When merging absolute/relative url, path parameters are taken as parts of
the elements, making special handling unnecessary.
* This software may be freely distributed and used according to the terms
* of the GNU Lesser General Public License.
*
* This software may be freely distributed and used according to the terms
* of the GNU Lesser General Public License.
*
- * The URL syntax corresponds to RFC 2396 with several exceptions:
- *
- * o Interpretation of path parameters follows RFC 1808.
- *
* XXX: The buffer handling in this module is really horrible, but it works.
*/
* XXX: The buffer handling in this module is really horrible, but it works.
*/
- if (a[0] == ';') /* Change parameters */
- {
- for(p=o; *p && *p != ';' && *p != '?' && *p != '#'; p++)
- ;
- goto copy;
- }
p = NULL; /* Copy original path and find the last slash */
p = NULL; /* Copy original path and find the last slash */
- while (*o && *o != ';' && *o != '?' && *o != '#')
+ while (*o && *o != '?' && *o != '#')
{
if (d >= e)
return URL_ERR_TOO_LONG;
{
if (d >= e)
return URL_ERR_TOO_LONG;