Page 1 of 1

Hyperlink - wrong encodeURI of source links

Posted: Wed May 07, 2025 9:28 am
by csrt
Hello, I am using the latest Stimulsoft 2025.2.3 version.

I have a report, containing a field, that has set an Interaction: Common: Hyperlink (Hyperlink to External Document).
From my database, I get links, and some of them contain get parameters with quotes, like following:

Code: Select all

"link": "#/someRelativeLink/here?param1=\"someParam1\"&param2=\"someParam2\""
The problem is that the Report interprets this links wrong, containing the underscore symbol instead of quotes, and as a result I get the following link:

Code: Select all

#/someRelativeLink/here?param1=_someParam1_&param2=_someParam2_
This problem wasn't present in earlier versions.
I've attached a sample report to illustrate the problem.

Thank you!

Re: Hyperlink - wrong encodeURI of source links

Posted: Thu May 08, 2025 7:11 am
by Lech Kulikowski
Hello,

You should use the following link:
#/someRelativeLink/here?param1=%22someParam1%22&param2=%22someParam2%22

Thank you.

Re: Hyperlink - wrong encodeURI of source links

Posted: Wed May 14, 2025 8:00 am
by csrt
Hello, thank you for the provided solution.

I tracked this behavior to the 2024.3.5 version. So in 2024.3.4 version this problem is absent, and since 2024.3.5 - the problem starts.
My question is: will this behavior be fixed? Or this is the new standard behavior?

Thank you.

Re: Hyperlink - wrong encodeURI of source links

Posted: Wed May 14, 2025 9:41 pm
by Lech Kulikowski
Hello,

It is the correct behaviour due to security reasons.

Thank you.

Re: Hyperlink - wrong encodeURI of source links

Posted: Thu May 15, 2025 8:47 am
by csrt
Thank you for your response. I will use the provided solution.

Re: Hyperlink - wrong encodeURI of source links

Posted: Thu May 15, 2025 8:58 am
by Lech Kulikowski
Hello,

You are welcome.