Changeset 1313

Show
Ignore:
Timestamp:
22-12-10 14:08:19 (3 years ago)
Author:
t.w.abma@…
Message:

- removed URL-encoding of encrypted "importable entities"

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/dbnp/importer/ImporterController.groovy

    r1311 r1313  
    4242        // encrypt the importable entities 
    4343        grailsApplication.config.gscf.domain.importableEntities.each { 
    44             it.value.encrypted = 
     44            it.value.encrypted =             
    4545            Blowfish.encryptBase64( 
    4646                it.value.entity.toString().replaceAll(/^class /, ''), 
     
    300300     * @return JSON object containing the found templates 
    301301     */ 
    302     def ajaxGetTemplatesByEntity = { 
    303         def entityName = Blowfish.decryptBase64( 
     302    def ajaxGetTemplatesByEntity = {         
     303        def entityName = Blowfish.decryptBase64(             
    304304            params.entity, 
    305305            grailsApplication.config.crypto.shared.secret