In OAM 11g, Webgate Protected Resource With Non-English Language Characters In The URLs Does Not Work (ex. with Arabic/Japanese Language) (Doc ID 1548975.1)

Last updated on SEPTEMBER 21, 2016

Applies to:

Oracle Access Manager - Version 11.1.1.5.0 and later
Information in this document applies to any platform.

Symptoms

On : OAM 11g, any release

In this particular case, OAM11g is integrated SharePoint 2007.
The Web Server - IIS 7 is used with OAM 10g WebGates for the integration.
The issue is faced in context of uploading documents on SharePoint
It was not able/possible to upload any document in folder having characters in language other than English (e.g.-Arabic, Japanese) on SharePoint portal.


The following error occurs.

ERROR
-----------------------
Error in OAM Logs:

[ERROR] [OAM-04020] [oracle.oam.proxy.oam]

ing)'] [userId: ] [ecid: fd0652d8c10fa2c2:60ca8478:13da19338da:-8000-0000000000000014,0] [APP: oam_server] Exception encountered while processing the request
message. Exception {0}[[
java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "u0"
  at java.net.URLDecoder.decode(URLDecoder.java:173)
  at oracle.security.am.common.policy.util.URLUtils.decodeURL(URLUtils.java:82)
  at oracle.security.am.proxy.oam.util.OAMProxyHelper.createRuntimeResource(OAMProxyHelper.java:199)
  at oracle.security.am.proxy.oam.requesthandler.NGProvider.getIsRescProtectedResponse(NGProvider.java:348)
  at oracle.security.am.proxy.oam.requesthandler.NGProvider.getResponse(NGProvider.java:257)
  at oracle.security.am.proxy.oam.requesthandler.RequestHandler.handleRequest(RequestHandler.java:356)
  at oracle.security.am.proxy.oam.requesthandler.RequestHandler.handleMessage(RequestHandler.java:169)
  at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean.getResponseMessage(ControllerMessageBean.java:75)
  at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean_eo7ylc_MDOImpl.__WL_invoke(Unknown Source)
  at weblogic.ejb.container.internal.MDOMethodInvoker.invoke(MDOMethodInvoker.java:35)
  at oracle.security.am.proxy.oam.requesthandler.ControllerMessageBean_eo7ylc_MDOImpl.getResponseMessage(Unknown Source)
  at oracle.security.am.proxy.oam.mina.ObClientToProxyHandler.messageReceived(ObClientToProxyHandler.java:216)
  at org.apache.mina.common.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:743)
  at org.apache.mina.common.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:405)
  at org.apache.mina.common.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:40)
  at org.apache.mina.common.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:823)
  at org.apache.mina.common.IoFilterEvent.fire(IoFilterEvent.java:54)
  at org.apache.mina.common.IoEvent.run(IoEvent.java:62)
  at oracle.security.am.proxy.oam.mina.CommonJWorkImpl.run(CommonJWorkImpl.java:41)
  at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
  at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
FilterEvent.java:54)
  at org.apache.mina.common.IoEvent.run(IoEvent.java:62)
  at oracle.security.am.proxy.oam.mina.CommonJWorkImpl.run(CommonJWorkImpl.java:41)
  at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
  at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)


The issue can be reproduced with using the IE browser, but it looks to work with the Firefox browser.


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms