Uploaded image for project: 'Forms'
  1. Forms
  2. FORMS-44

Impossible to submit data in the front-office

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 1.0
    • None
    • Front submission
    • None

      Characters like line break and space make the POST transmission to the CMS crash.
      See bug CMS-1912.

      java.net.URISyntaxException: Illegal character in query at index 220: http://inpt-cms.laureline:8080/inpt-cms/generate/plugins/forms/submit?_contextPath=&defaultWebContent://b3a1ce13-74f8-4eb0-a605-313bdfdc379d%20form-ametys-08430425153157507%20ametys-gen-10=mvpyjr&radio1=a&textarea1=texte
      texte
      texte
      &password1=password&select1=Valeur 2&submit1=Valider&ametys-form-id=form-ametys-08430425153157507&email=test@mail.com&hidden=hiddenValue&text1=texte&file1=/home/cms/site/web/WEB-INF/data/uploads/test document.odt&ametys-content-id=defaultWebContent://b3a1ce13-74f8-4eb0-a605-313bdfdc379d
      	at java.net.URI$Parser.fail(URI.java:2809)
      	at java.net.URI$Parser.checkChars(URI.java:2982)
      	at java.net.URI$Parser.parseHierarchical(URI.java:3072)
      	at java.net.URI$Parser.parse(URI.java:3014)
      	at java.net.URI.<init>(URI.java:578)
      	at java.net.URI.create(URI.java:840)
      	at org.apache.http.client.methods.HttpPost.<init>(HttpPost.java:76)
      	at org.ametys.web.site.GeneratePageAction.act(GeneratePageAction.java:80)
              [...]
      

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

              Created:
              Updated:
              Resolved: