Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-607

Double slash in unlock URI produces exception with Jetty

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.9.10
    • 2.9.9
    • None
    • None
    • Jetty 6.1.10

      We got this URL:
      http://localhost:8080/contributor/anycontent/content/unlock//default/fr/index
      and this exception:

      Caused by: java.lang.IllegalStateException: The site '' does not exist
      	at org.ametys.anycontent.repository.DecodingMatcher._checkSite(DecodingMatcher.java:238)
      	at org.ametys.anycontent.repository.DecodingMatcher.match(DecodingMatcher.java:201)
      	at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:90)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      	at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143)
      	at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69)
      	at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93)
      	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235)
      	at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177)
      	at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:253)
      	at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118)
      

            yabon Sébastien Launay (Inactive)
            yabon Sébastien Launay (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: