News for hackers. Stuff that matters.
Re:Proposed new tag: IMG (1993) by sowbug on Friday November 02, 2018 @12:48AM (#18360768)
It's interesting that the example in the proposal uses the file: protocol rather than http. Was that a mistake? Today a browser would handle such a tag by looking for a local file, rather than "attempt[ing] to pull over the network."
Re:Proposed new tag: IMG (1993) by matthewbadeau on Friday November 02, 2018 @02:04AM (#18360994)
It was probably not a mistake. It was to separate Hypertext from other files. The file: protocol still works in the a browser with a hostname as well. IE: file:///10.1.1.10/files/example.xlsx
Re:Proposed new tag: IMG (1993) by sowbug on Friday November 02, 2018 @09:36AM (#18362869)
I can't believe I didn't know that until now! I've personally used file: only to test local copies of static files/sites, and haven't had a need beyond that.

I wonder how the browser distinguishes between a file residing on a host addressable at 10.1.1.10, and the local path /10.1.1.10/files/example.xlsx. Maybe it tries one and then the other if the first doesn't work.

Re:Proposed new tag: IMG (1993) by ttmb on Friday November 02, 2018 @12:32PM (#18364385)
They would be different URIs. file://10.1.1.10/files/example.xlsx - remote vs file:///10.1.1.10/files/example.xlsx - local
Re:Proposed new tag: IMG (1993) by Jaruzel on Friday November 02, 2018 @07:25AM (#18362202)
Although it will use the underlying file sharing stack such as NFS or SMB, and not HTTP.