Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!
SOLVED

# value in the products variable getting truncated

Avatar

Level 5

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.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

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/

1807181_pastedImage_0.png

Either use a different delimiter or encode the # value

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

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/

1807181_pastedImage_0.png

Either use a different delimiter or encode the # value