Hyperlink control not working as expected

  • 15 February 2022
  • 0 replies
  • 16 views

Userlevel 5
Badge +20
 

Hyperlink control not working as expected

kbt149145

PRODUCT
K2 smartforms
BASED ON
K2 smartforms (all)
TAGS
SmartForms Designer
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

Issue

When clicking the hyperlink control at Runtime, the following error appears:
"A potentially dangerous request. Path value was detected from the client(<)."

 

Image

 

 

 

 

 

 

Symptoms

The following value is saved in the database:

 

<a href="&lt;a href=&quot;http://xxxxxxx.html&quot;&gt;Help&lt;/a&gt;">Click Here</a>

The correct value should be as below:

 

<a href="https://help.k2.com/">Help</a>. 
 

When checking K2 Designer, we found that the mapping value from this control to the database is not correct:
 

Image

Troubleshooting Steps

You can resolve this issue by re-mapping the value to the database with a hyperlink control instead.

Image

 


0 replies

Be the first to reply!

Reply