Live data from Hacker News

Do Not Type "File:///" in OS X

openradar.appspot.com

21–30 of 206 posts

Re: Do Not Type "File:///" in OS X

#23
post #18
post #16

Earlier quoted context omitted.

What version of chrome? Does not happen with 24.0.1312.56 or 24.0.1312.57

Happens with 24.0.1312.57 on osx 10.8.2.

I'm also running the latest version of Chrome on Mountain Lion on a current Macbook Air, and I can't reproduce this. Entering file:/// just shows me "Index of /" as expected.

Tried it in Safari and Firefox too, no issues.

Re: Do Not Type "File:///" in OS X

#24
Hilariously, this bug seems to also crash the Mac error reporter, maybe because it has the evil string in it. I did manage to copy and paste a crash dump before the crash reporter crashed: http://pastebin.com/UkhERvaA

The underlying reported error is * Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'condition "wrong extraction: File:///"'

Interesting that it's an asynchronous crash. What part of MacOS is paying such close attention to typed URLs?

Re: Do Not Type "File:///" in OS X

#25
post #5

Earlier quoted context omitted.

Maybe I should, but 10.8's Terminal.app seemed to have everything I need (well, except for the crash reporter ruining my work every time I forget and type ~)

I switched to iTerm a long time ago and never looked back. I recommend it.

iTerm 2 is brilliant, I can't imagine using the default Terminal for anything, ever.

Re: Do Not Type "File:///" in OS X

#27
post #23
post #18

Earlier quoted context omitted.

Happens with 24.0.1312.57 on osx 10.8.2.

I'm also running the latest version of Chrome on Mountain Lion on a current Macbook Air, and I can't reproduce this. Entering file:/// just shows me "Index of /" as expected. Tried it in Safari and Firefox too, no issues.

The capital F (or indeed, any case version except all-lowercase, such as "fILE") is critical.

Re: Do Not Type "File:///" in OS X

#28
post #27
post #23

Earlier quoted context omitted.

I'm also running the latest version of Chrome on Mountain Lion on a current Macbook Air, and I can't reproduce this. Entering file:/// just shows me "Index of /" as expected. Tried it in Safari and Firefox too, no issues.

The capital F (or indeed, any case version except all-lowercase, such as "fILE") is critical.

Tried that too. It does crash TextEdit, but not Chrome.

OK, it also crashes Safari when capitalized.

Re: Do Not Type "File:///" in OS X

#29
so, uh anyone else sense a zero day exploit? ">click me... not saying that will work, but usually if you can hard crash something you just found some corruption in memory maybe bad use of memcpy, sprintf instead of snprintf... something along those lines...
Post reply on HN