Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-230

Change service method of RuntimeServlet to final and add a local protected method

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0.0 M4
    • 1.1.5
    • Kernel
    • None

      If we extends the RuntimeServlet and change the service method behaviour encoding problem can occurs.
      Indeed, request.setCharacterEncoding() may be called after retrieving a parameter setting the request encoding to the default value (latin1 for Tomcat).

      The right approach here is to change the service method to final and add a new protected method (like internalService) which can be extended.

      This breaks back-compatiblity but is necessary in order to avoid time spent searching encoding problem.

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

              Created:
              Updated:
              Resolved: