Changeset 944 for trunk


Ignore:
Timestamp:
May 24, 2011, 11:12:56 AM (14 years ago)
Author:
gav
Message:

Merge default config from Grails-1.3.7 which includes grails.mime.types fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/conf/Config.groovy

    r923 r944  
    1717    grails.config.locations = [ "classpath:${appName}-config.groovy" ]
    1818
     19//grails.project.groupId = appName // change this to alter the default package name and Maven publishing destination
     20
    1921// Set false due to acegi security issue.
    2022// See: http://jira.grails.org/browse/GPACEGI-41
    2123// See: http://www.gnumims.org/trac/ticket/98
    2224grails.mime.file.extensions = false // enables the parsing of file extensions from URLs into the request format
    23 
     25//grails.mime.use.accept.header = false
    2426grails.mime.types = [ html: ['text/html','application/xhtml+xml'],
    2527                      xml: ['text/xml', 'application/xml'],
    26                       text: 'text-plain',
     28                      text: 'text/plain',
    2729                      js: 'text/javascript',
    2830                      rss: 'application/rss+xml',
     
    3941                      multipartForm: 'multipart/form-data'
    4042                    ]
     43
     44// URL Mapping Cache Max Size, defaults to 5000
     45//grails.urlmapping.cache.maxsize = 1000
     46
    4147// The default codec used to encode data with ${}
    4248grails.views.default.codec="none" // none, html, base64
     
    5561grails.enable.native2ascii = true
    5662
    57 // whether to install the java.util.logging bridge for sl4j. Disable fo AppEngine!
     63// whether to install the java.util.logging bridge for sl4j. Disable for AppEngine!
    5864grails.logging.jul.usebridge = true
    5965// packages to include in Spring bean scanning
    6066grails.spring.bean.packages = []
     67
     68// request parameters to mask when logging exceptions
     69grails.exceptionresolver.params.exclude = ['password']
    6170
    6271/**
Note: See TracChangeset for help on using the changeset viewer.