4 ms·
Zombie Operating Systems and ASP.NET MVC (2009)
- solutionyogi 11y agoCan someone add 2009 to the tile?
- StevePerkins 11y agoGiven that this article is 6 years old, and the upcoming vNext is being touted as practically a rewritten v1.0 product... will this constraint still hold for the new ASP.NET coming next year?
- gecko 11y agoOriginal author here! Microsoft fixed this awhile ago; the constraint definitely is dead in vNext. You do, however, still need to set a flag explicitly to disable the behavior described in this post. http://haacked.com/archive/2010/04/29/allowing-reserved-filenames-in-URLs.aspx/ http://haacked.com/archive/2010/04/29/allowing-reserved-file... has instructions on how this worked in ASP.NET 4, and I believe the situation is similar in 5. Also, just to get this out of the way since it comes up every time this is posted, my description of CP/M is slightly incorrect; it turns out to have had a much saner COM/LPT/etc. situation than DOS had. The rest of the article was however correct.
- gwern 11y agoWhy not edit both of those points into your post? It must be easier than chiming in on the comments section every time it's posted.
- gecko 11y agoBecause the article is six years old and the fact you can now circumvent the error is irrelevant to its point. Besides, the linked SO question does indeed have the new information, and has for five years.
- gwern 11y agoSo? Readers of that post obviously are interested in whether it was ever fixed, as this HN discussion proves, and they aren't going to randomly click on a SO link just in case it might cover that topic.
- sergiotapia 11y agoWhy submit a 6 year old tech article? What's the context and relevance?
- AdeptusAquinas 11y agoHackerNews isn't a current affairs site, or at least not only one. Interesting articles, whatever the age, are totally valid.
- sergiotapia 11y agoI know, I've been here three years now. I just assumed there was additional context for this article.
- modarts 11y ago[2009]
- dsp1234 11y agoFor classic asp you can avoid this when accessing files via the command line by using a extended file path format: notepad \\?\c:\inetpub\wwwroot\com1.asp http://localhost/com1.asp http://localhost/com1.asp This also has the hilarious result that "normal" windows tools can't delete the file without using the extended path.
- RomanPushkin 11y agoActually, it's easily fixable with: relaxedUrlToFileSystemMapping="true" (google that). It was fixable many years ago, and I have no any idea why today it is on hacker news, lol
- gecko 11y agoYou're completely right that this got fixed in ASP.NET 4, but I still think it's a fun read to see how an unyielding tribute to backwards compatibility can have really odd implications.
- ben_bai 11y agoC:\con\con anybody remebering this?
- ps4fanboy 11y agoThere was a system BSOD in IE, where you made an iframe that included these reserved names, crashed the OS.