Jan Honza Odvarko wrote:
Next example:

http://example.com:80

Now it isn't clear whether it's a port number or a line number.

Could we somehow fix this?

"http://example.com/"; is equivalent to "http://example.com"; so you could just ensure that you output a "/" when the path is empty. (http://url.spec.whatwg.org/#host-serializing does require the "/" there.)
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to