Apache Tomcat Maven Plugin
  1. Apache Tomcat Maven Plugin
  2. MTOMCAT-43

Allow configuration of URI encoding for tomcat run goals

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 2.0-beta-1
    • Component/s: tomcat6, tomcat7
    • Labels:
      None

      Description

      My webapp relies on the servlet container decoding URIs as UTF-8. The attached patch lets me configure this for the embedded Tomcat.

        Issue Links

          Activity

          Hide
          Olivier Lamy (*$^¨%`£) added a comment -

          this issue concerns tomcat*:run mojo not the new feature for executable jar/war.
          But that's true
          I will open a separate issue.

          Show
          Olivier Lamy (*$^¨%`£) added a comment - this issue concerns tomcat*:run mojo not the new feature for executable jar/war. But that's true I will open a separate issue.
          Hide
          Morten Haraldsen added a comment -

          This does not seem to be working.

          Line 195/196 of TomcatRunner.java
          // FIXME parameter for that def ? ISO-8859-1
          //connector.setURIEncoding(uriEncoding);

          Please fix this.

          Best regards
          Morten

          Show
          Morten Haraldsen added a comment - This does not seem to be working. Line 195/196 of TomcatRunner.java // FIXME parameter for that def ? ISO-8859-1 //connector.setURIEncoding(uriEncoding); Please fix this. Best regards Morten
          Hide
          Mark Thomas added a comment -
          Show
          Mark Thomas added a comment - fix rev 11617

            People

            • Assignee:
              Olivier Lamy (*$^¨%`£)
              Reporter:
              Dan C
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development