Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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