# value in the products variable getting truncated | Community
Skip to main content
Level 4
August 5, 2019
Solved

# value in the products variable getting truncated

  • August 5, 2019
  • 1 reply
  • 3079 views

if we pass "#" in the products variable, after "#' values are getting truncated. See below example.

products = ";abcd#uzzz;;";

Bootstrapper.imageRequest("//met2.hp.com/b/ss/hphqglobal,hpi-hphqelite1.0/1/JS-1.4.4/s"+a+ "?products="+products);

In the image beacon,we are seeing only values before #, nothing after #.

products = abcd.

Please help me here.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Hyder_Ziaee

You should not be using the # in the value. It is a special keyword in the URL structure that indicates the start of the anchor.

https://sitechecker.pro/what-is-url/

Either use a different delimiter or encode the # value

1 reply

Hyder_Ziaee
Adobe Employee
Hyder_ZiaeeAdobe EmployeeAccepted solution
Adobe Employee
August 5, 2019

You should not be using the # in the value. It is a special keyword in the URL structure that indicates the start of the anchor.

https://sitechecker.pro/what-is-url/

Either use a different delimiter or encode the # value