Linux Access Gateway cannot rewrite HTML page that includes apostroph characters

  • 7009359
  • 15-Sep-2011
  • 26-Apr-2012

Environment

Novell Access Manager 3.1 Linux Access Gateway
Novell Access Manager 3.1 Support Pack 3 applied

Situation

Access Manager 3.1.3 setup and working fine - users can access protected resources behind the Linux Access Gateway (LAG) after having authenticated to the Identity (IDP) Server first. One back end web application however returned HTML data that included an apostroph such as

"<html><body><h1>Could not find &#039;View&#039; named &#039;Service RequestURL Creation View (eService)&#039;. This object is inactive or nonexistent.(SBL-DAT-00144)</h1></body></html>"

which ended up being displayed incorrectly by the browser. In an attempt to workaround the issue, a character and word based rewriter profile was setup to rewrite the &#039; string (or complete message) with another non encoded string eg. Neil in the example below.

<SearchAndReplace SearchRegEx="&lt;html&gt;&lt;body&gt;&lt;h1&gt;Could not find &amp;#039;View&amp;#039; named &amp;#039;Service Request URL Creation View (eService)&amp;#039;. This object is inactive or nonexistent.(SBL-DAT-00144)&lt;/h1&gt;&lt;/body&gt;&lt;/html&gt;" ReplaceString="Neil" UserInterfaceID="SearchAndReplace_1314798903620" />

Whatever we added in the rewriter profile would never get rewritten at all ie. the original web server page would always get rendered on the browser.

Resolution

Fixed in Access Manager 3.1 Support Pack 4.

Feedback service temporarily unavailable. For content questions or problems, please contact Support.