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

Internal request parameters are badly decoded

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.11.0
    • None
    • None
    • None
    • Roadmap 5.0

      When using an internal request
      _sourceResolver.resolveURI("cocoon:/....")

      with parameters, to respect RFC we should encode each parameter using URIUtils.encodeParameter.
      But in internal request, the rg.apache.cocoon.environment.wrapper.RequestParameters#parseName method is badly implemented and does not support UTF-8 encoding.
      For example the £ character is encoded as %C2%A3 but the parseName method will decode it as ã.

            Unassigned Unassigned
            raphael Raphaël Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: