Skip to content

Commit

Permalink
Support relative URLs for unknown schemes. Please review! Fixes https…
Browse files Browse the repository at this point in the history
…://www.w3.org/Bugs/Public/show_bug.cgi?id=27233.

This makes a great many changes:
* scheme data -> path[0] + non-relative flag
* Introduce “is special” check for URLs
* Rewrote “URL writing” to account for wider set of conforming URLs
* API no longer allows setting scheme across special URL boundary
* Remove null from host serializer
* Remove empty string handling from host parser (only needed for
special URLs, done inline in the parser)
* Restricted special backslash handling to special URLs
* Added new states to the parser and renamed some existing states.
* Rewrote URL’s serializer algorithm.
  • Loading branch information
annevk committed Jun 17, 2015
1 parent 5533c8d commit b266a43
Show file tree
Hide file tree
Showing 3 changed files with 574 additions and 799 deletions.
6 changes: 0 additions & 6 deletions Makefile

This file was deleted.

Loading

0 comments on commit b266a43

Please sign in to comment.