Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-1998

Support configuration of the default request parameter encoding

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Engine 2.2.2
    • Engine 2.2.4
    • Engine
    • None

    Description

      As proposed in http://markmail.org/message/mv6jfc26x43keg6i a new configuration property for the Sling Main Servlet should be introduced to overwrite the default request parameter encoding.

      Currently request parameters are decoded with the encoding provided by the charset request parameter (if set). If the request parameter is not set or does not provide an encoding supported by the platform, the default ISO-8859-1 is applied.

      For applications always only using the same response encoding, e.g. UTF-8, specifiying the charset request parameter is tedious. It would be helpful if the default parameter could be configured to something different than ISO-8859-1.

      Attachments

        Activity

          People

            fmeschbe Felix Meschberger
            fmeschbe Felix Meschberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: