Hi!
I've got a regular expression (
content=\"([A-Za-z0-9!"#$%&'()*+,./:;<=>?@\^_`{|}~-]+)\" name="csrf-token )
That grabs my authentication token, the problem that I'm having is that when I
use the variable that should have my authentication token that looks like this:
ELVM+rEgERKSGA4d9mld+PiMf1dRtub9wuuBE1rKflM=
Is stored in the variable and used in another request, the + and = are stripped
from the token and
ELVM rEgERKSGA4d9mld PiMf1dRtub9wuuBE1rKflM
Is used instead which causes my script to break. I've tried to wrap a function
around it to replace all spaces with a + but that didn't work ( not to mention
this doesn't handle the missing = ). How do I escape the + and = characters so
the variable retains the + and = signs?
Thank you!