On DctmUploadService.java method getAttributeFromDql, you use regex replacement for %20.
If you need to encode / decode string for url, why not use proper class (e.g. URLEncoder or URLDecoder from java.net package?
This one :
dql.replace(" ", "%20") > might buggy since you only decode one special character
On
DctmUploadService.java
methodgetAttributeFromDql
, you use regex replacement for %20. If you need to encode / decode string for url, why not use proper class (e.g.URLEncoder
orURLDecoder
fromjava.net
package?This one :
dql.replace(" ", "%20")
> might buggy since you only decode one special character