Changeset 1673
- Timestamp:
- Mar 24, 2011, 10:10:37 AM (12 years ago)
- Location:
- trunk/grails-app
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/Config.groovy
r1661 r1673 111 111 112 112 // Needed for the (copy of) the Spring Security UI plugin 113 grails.mail.default.from = 'gscf@dbnp.org' 113 114 grails.plugins.springsecurity.ui.forgotPassword.emailFrom = 'gscf@dbnp.org' 114 115 grails.plugins.springsecurity.ui.forgotPassword.emailSubject = 'Password reset GSCF' -
trunk/grails-app/conf/config-dbnpdemo.properties
r1669 r1673 18 18 19 19 # SpringSecurity E-Mail Settings 20 grails.mail.default.from=gscf@dbnp.org 20 21 grails.plugins.springsecurity.ui.forgotPassword.emailFrom=gscf.default.installation@gmail.com 21 22 -
trunk/grails-app/controllers/dbnp/studycapturing/StudyWizardController.groovy
r1665 r1673 2007 2007 def url = "http://eutils.ncbi.nlm.nih.gov/entrez/eutils"; 2008 2008 def util = params.remove( "_utility" ) 2009 2010 if( !util ) { 2011 response.setStatus( 404, "File not found" ); 2012 return; 2013 } 2014 2009 2015 def paramString = params.collect { k, v -> k + '=' + v.encodeAsURL() }.join( '&' ); 2010 2016 … … 2012 2018 2013 2019 // Return the output of the request 2014 // render fullUrl; 2015 render( 2016 text: new URL( fullUrl ).getText(), 2017 contentType: "text/xml", 2018 encoding: "UTF-8" 2019 ); 2020 response.contentType = "text/xml" 2021 response.characterEncoding = "UTF-8" 2022 response << new URL( fullUrl ).openStream() 2023 2024 render "" 2020 2025 } 2021 2026 }
Note: See TracChangeset
for help on using the changeset viewer.