Uploaded image for project: 'OpenAM Agents'
  1. OpenAM Agents
  2. AMAGENTS-2440

Policy evaluation with non-ASCII character fails on Nginx

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.2.0.0, 4.2.2, 4.2.1.0
    • Fix Version/s: None
    • Component/s: Web Agents
    • Environment:
      ubuntu16 nginx12, nginx19/20&&centos7

      Description

      Bug description

      Test Ubuntu 16 and Nginx 12 shows 1 failure assertAgentPolicyEvaluation("$baseURLforst%C3%A5", "$baseURLforstå", true) - expected 200 or 404, but got 403.

      I'm able to reproduce that manually too.

      How to reproduce the issue

      1. configure policy to allow authenticated users to access http://agent.localtest.me/forst%C3%A5
      2. access http://agent.localtest.me/forstå
      3. login to AM as demo user
      4. access  is denied
      Expected behaviour
      access is allowed
      
      Current behaviour
      access is denied
      

        Attachments

          Activity

            People

            • Assignee:
              richard.hruza Richard Hruza
              Reporter:
              lubomir.mlich Ľubomír Mlích
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: