SoftInstigate / restheart

Rapid API Development with MongoDB
https://restheart.org
GNU Affero General Public License v3.0
807 stars 171 forks source link

config file path has space , restheart then can not resolve config file #248

Closed thm1118 closed 7 years ago

thm1118 commented 7 years ago

in class AbstractSimpleSecurityManager, method init , it should use like is = new FileInputStream(new File(java.net.URLDecoder.decode(confFilePath,"utf-8"))); to compatibility with path which has sapce

mkjsix commented 7 years ago

https://softinstigate.atlassian.net/browse/RH-253

mkjsix commented 7 years ago

Fixed in master. https://github.com/SoftInstigate/restheart/commit/27c4475b5be4d3bfd9e5728a22afa5e12583849e