Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-845

Semicolon (;) appended to HTTP_HEADER values in IIS7 agent after implementing fix for OPENAM-437

    XMLWordPrintable

    Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Agents-3.1.0-Xpress
    • Agents-3.1.0-Xpress
    • web agents
    • OpenAM 9.5.3 - IIS7 x64 agent ( Version: 3.0.5, build 1194, Build Date: 20110927)
    • Rank:
      1|hzn7qf:
    • Sprint 3

      Description

      After fixing OPENAM-437, the header variables retrieved by the agent get a ";" character appended, which is not expected. This does not happen with the 3.0.4 agent.

      Steps to reproduce:

      Install and configure OpenAM Server, using AD as User Data Store (DataStore is probably not relevant)
      Define an IIS7 agent requesting Profile attributes as HTTP_HEADER
      Install the latest nightly build 3.0.5 IIS7 x64 agent (Version: 3.0.5, build 1194, Build Date: 20110927)
      Make sure the header attributes exist on the user object
      Create a policy to allow access to the IIS server
      Access the Agent in a browser, and log in
      Use the attached aspx file to display headers in the browser, which show the ";" character at the end of the variables, like this:

      HTTP_CUSTOM_MAIL:rune.gronas@gmail.com;
      HTTP_LOGIN:rune;

      In debug log:

      2011-09-27 12:13:31.921MaxDebug 2240:1c14b20 all: am_web_result_attr_map_set(): Calling container-specific header setter function.
      2011-09-27 12:13:31.921MaxDebug 2240:1c14b20 all: i18n encoding in utf-8
      2011-09-27 12:13:31.921 Info 2240:1c14b20 all: set_header():set_headers_list = custom-mail:

      custom-mail:rune.gronas@gmail.com

      login:

      login:rune

      User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.186 Safari/535.1

      2011-09-27 12:13:31.921 Debug 2240:1c14b20 all: set_headers_in_context(): inRequest: TRUE
      2011-09-27 12:13:31.921 Debug 2240:1c14b20 all: set_headers_in_context(): Setting Head: custom-mail = rune.gronas@gmail.com;
      2011-09-27 12:13:31.921 Debug 2240:1c14b20 all: set_headers_in_context(): Setting Head: login = rune;
      2011-09-27 12:13:31.921 Debug 2240:1c14b20 all: set_request_headers(): Final headers: Cache-Control: no-cache

        Attachments

          Activity

            People

            mareks Mareks Malnacs
            rune rune
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: