Spaces in URL on config xml file

Bug #501914 reported by Myriam
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
themis
Fix Committed
Undecided
Rachid Ouattara

Bug Description

J'ai un fichier de config qui se trouve dans le répertoire C:\Documents and Settings\mikou\DEV\workspaceThemis\clone-component\themis-core de mon poste : lorsque je tente d'utiliser ce fichier dans mes tests, ça plante parce qu'il ne trouve pas le chemin : "Chemin spécifié introuvable"

ça doit être à cause des espaces dans "Documents and Settings"

Related branches

Revision history for this message
Rachid Ouattara (ouattchidi) wrote :

This issue is due to the method.getResource().getPath() witch return the path of a resource file. When there is a blank space in the file-path, this method replace all those space by %20 that why when new File(filePath) is invoked it throw a FileNotFoundExecption.

Changed in aerofox-themis:
status: New → Fix Committed
assignee: nobody → Rachide Ouattara (ouattchidi)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.