From: HD Moore Date: 2010-05-28T03:34:40+09:00 Subject: [ruby-core:30474] [Bug #3337] MS-DOS device names are identified as readable_real Issue #3337 has been updated by HD Moore. Responding to Caleb: the regex is being used to monkeypatch an application server, the leading / is because the regex is matching an incoming request, not the raw filename, and I should have clarified in the initial report. It does seem a sticky problem to solve, but it may be possible to combine the known-bad blacklist with QueryDosDevice (.ex: CON will always be a console). I am not sure how frequently DefineDosDevice is actually used, so just filtering a known blacklist may go a long way in the short term. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/3337 ---------------------------------------- http://redmine.ruby-lang.org