Hello
I would like to send each item on a List of Text into a parameter, joining each item with “&c=”.
HOWEVER, sending it into a parameter converts “&c=” into “%26c%3D” which interferes with my regex extracting
Long Long Long Backstory:
My ultimate goal is to make a cart system that does not need users to sign in using URL appending for each item they add to the cart. In which I use a URL appender plugin which looks like &c=11111&=c22222&c=33333 for each Cart thing’s unique ID.
The URL is then extracted with regex to identify each Cart thing to display the items added to the cart. This List of Text of unique IDs is stored in a custom state, so that it can be manipulated, such as to be deleted.
ALL IS GOING SWELL UNTIL
I need to delete a Cart thing. I taken out the unique id to be deleted from the custom state. But as I want to change the parameter… sending the parameter into the URL turns my & into %26 and my = into %3D
AFTER CONQUERING SO MANY OBSTACLES TO MAKE THIS HAPPEN I am left with this one small obstacle which is to send &c= into my URL without it changing into %
PS: I also tried thought I had a big brain moment to directly use %26c%3D and I laughed at the results because it converted my % into %2526c%253D LMFAO
I am exasperated, tired, mentally drained, and I hereby desperately, humbly, seek for the bubble gods’ enlightenment.