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

GeneratePageAction does not encode parameters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.1.2, 3.2.1
    • 3.1.1, 3.2
    • Workspace : Site
    • None

      GeneratePageAction does not encode parameters. If a parameter with a space is transmitted, for instance, it causes an error:

      java.lang.IllegalArgumentException
              at java.net.URI.create(URI.java:842)
              at org.apache.http.client.methods.HttpGet.<init>(HttpGet.java:69)
              at org.ametys.web.site.BackOfficeRequestHelper.getRequest(BackOfficeRequestHelper.java:100)
              at org.ametys.web.site.CacheAccessManager._isCacheable(CacheAccessManager.java:228)
              at org.ametys.web.site.CacheAccessManager.isCacheable(CacheAccessManager.java:149)
              at org.ametys.web.site.IsPageCacheableAction.act(IsPageCacheableAction.java:56)
              at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:120)
              [...]
      

            Unassigned Unassigned
            ngavalda Nicolas Gavalda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: