Uploaded image for project: 'Apache Tomcat Maven Plugin'
  1. Apache Tomcat Maven Plugin
  2. MTOMCAT-245

Missing useBodyEncodingForURI parameter on connector

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.2
    • 2.2
    • tomcat6, tomcat7
    • None

    Description

      UseBodyEncodingForURI is unsupported yet (25 oct 2013) in 2.2-SNAPSHOT. Please add it:

      tomcat7-maven-plugin/src/main/java/org/apache/tomcat/maven/plugin/tomcat7/run/AbstractRunMojo.java

      @Parameter( property = "maven.tomcat.useBodyEncodingForURI", defaultValue = "false" )
      private boolean useBodyEncodingForURI;

      then next to "connector.setURIEncoding( uriEncoding );", add
      connector.setUseBodyEncodingForURI( useBodyEncodingForURI );

      then next to "ajpConnector.setURIEncoding( uriEncoding );", add
      ajpConnector.setUseBodyEncodingForURI( useBodyEncodingForURI );

      Attachments

        Activity

          People

            olamy Olivier Lamy
            dutoitc Cédric Dutoit
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified