Absent Member.. Absent Member..
Absent Member..

ampersand truncates parameterized template view value when passed from a web page



I'm using a web link with an embedded uid/pw to logon to the UCMDB.  In that link I'm passing a value to a parameterized template view.  The report displays in the browser as expected, except when the value I pass has an "&" ampersand in it, in which case it truncates the value at the ampersand in the report.  


This is what the url string looks like when I try to pass the value "My & Parameter" to the report:




So I'm passing  "My & Parameter", but all I get is "My" in the template parameter field of the report.  I've tried using various methods to pass it, %26, &, &, \&, no luck.  Any ideas?  




1 Reply
New Member.

Re: ampersand truncates parameterized template view value when passed from a web page

Hi Bill,


This problem occurs because of a change in ASP.NET 2.0. This change causes ASP.NET 2.0 to explicitly check any symbols in the virtual path in the URL when ASP.NET 2.0 validates the URL.

Could you please find more information in the link below.




Best regards,


*HP Support
If you find this or any post resolves your issue, please be sure to mark it as an accepted solution.*
*If you feel the post is helpful, please assign a KUDO star to say "Thanks"*
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.