craigfrancis/wdoc

Use standard URL paths to address files within the file

Closed this issue · 3 comments

The standard could support access to files within the archive by simply requiring that browsers (or whatever application is rendering the file) interpret them as such.

*Example: *

A file opened in the browser with the URL file:///temp/example.wdoc would display the content of the file index.html inside that archive.
If the URL was changed to file:///temp/example.wdoc/index2.html then the file index2.html inside the archive would be rendered.

Thanks Adrian,

Firefox has a similar thing for JAR files, which I briefly mentioned towards the end. Personally I prefer your much shorter version, so do the examples I've just added to the document reflect this properly?

https://github.com/craigfrancis/wdoc#the-browsers

I forgot to say, thanks for your initial email on the W3C WebAppSec mailing list ... this is how I found out about the Firefox approach.

I also like your .hta extension idea, where someone else has a similar idea with .hdoc, but as far as I can tell, nothing has actually used .wdoc yet :-)