activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuconic <...@git.apache.org>
Subject [GitHub] activemq-artemis pull request #845: ARTEMIS-801 Decode URL paths
Date Mon, 17 Oct 2016 16:35:29 GMT
Github user clebertsuconic commented on a diff in the pull request:

    https://github.com/apache/activemq-artemis/pull/845#discussion_r83682900
  
    --- Diff: artemis-server/src/main/java/org/apache/activemq/artemis/core/server/reload/ReloadManagerImpl.java
---
    @@ -92,7 +95,17 @@ private ReloadRegistry getRegistry(URL uri) {
           private final List<ReloadCallback> callbacks = new LinkedList<>();
     
           ReloadRegistry(URL uri) {
    -         this.file = new File(uri.getPath());
    +         String filePath = null;
    +         try {
    +            filePath = URLDecoder.decode(uri.getPath(), StandardCharsets.UTF_8.name());
    --- End diff --
    
    hmmm.. the issue is on the reload manager only?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message