Error action execution: Incorrect URI given - Illegal character in fragment
search cancel

Error action execution: Incorrect URI given - Illegal character in fragment

book

Article ID: 375059

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio) CA Release Automation - DataManagement Server (Nolio)

Issue/Introduction

"Access URL" action does not accept anymore 2 # characters in the URL.

Error is : Error occurred during action execution: Incorrect URI given [https://techdocs.broadcom.com/us/en/ca-enterprise-software/business-management/clarity-client-automation/14-5/release-information/release-information-14-5-cu7.html#_66cb01eb-f79e-40ce-9ff8-2264e4492081_#testfixes145CU7], Illegal character in fragment at index 202: https://techdocs.broadcom.com/us/en/ca-enterprise-software/business-management/clarity-client-automation/14-5/release-information/release-information-14-5-cu7.html#_66cb01eb-f79e-40ce-9ff8-2264e4492081_#testfixes145CU7

Same action and URL worked fine in version 6.8.2

Environment

Release Automation 6.8.4 and upper version.

Cause

In version 6.8.4, a new function is used to validate URL. This new function is using a validation procedure more strict than in version 6.8.2 and rules "URI specification RFC 3986" about "URI fragments" (#) are respected.

According to the documentation :
Wikipedia : Uniform Resource Identifier
W3C : URI Fragments

the"#" character is used as a start of the fragments section of the URI and the URL can't have more than this character.

Resolution

The solution is to replace the second character # by characters %23

Example :

Replace

https://techdocs.broadcom.com/us/en/ca-enterprise-software/business-management/clarity-client-automation/14-5/release-information/release-information-14-5-cu7.html#_66cb01eb-f79e-40ce-9ff8-2264e4492081_#testfixes145CU7

by

https://techdocs.broadcom.com/us/en/ca-enterprise-software/business-management/clarity-client-automation/14-5/release-information/release-information-14-5-cu7.html#_66cb01eb-f79e-40ce-9ff8-2264e4492081_%23testfixes145CU7