Underscore in static file path

Topics: Writing modules
Oct 14, 2014 at 2:43 PM
I'm writing module which contains third party JavaScript library.
This library is in separated folder. I have managed to configure Web.config to serve all files as static content. All works fine except for files which have "_" in path.

"i18n/_locales/en_US/messages.json" doesn't work (404 error)
but if I rename folders to have path
"i18n/locales/enUS/messages.json" it works. (although this is not a solution)

I'm guessing it has something to do with Orchard's routing as the same library can be used in ASP.NET MVC without problems.

Any help greatly appreciated!
Oct 14, 2014 at 7:56 PM
Looks like false alarm. Restarted, cache cleared, retested and it works. ;)