Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.1
-
Fix Version/s: None
-
Component/s: Controllers
-
Labels:None
Description
I have the following UrlMappings entry:
static mappings = {
"/lib/$uri**" (controller: 'library', action: 'showContent')
}
And in the LibraryController I have:
def showContent = {
render "$
"
}
If I enter the url:
/lib/foo.abc
Then I get foo.abc
If I enter
/lib/foo.text
Then I get foo
I was expecting foo.text
Have you tried setting this to false in grails-app/conf/Config.groovy?:
grails.mime.file.extensions = false