How could I check if string has already been encoded?
For example, if I encode TEST==
, I get TEST%3D%3D
. If I again encode last string, I get TEST%253D%253D
, I would have to know before doing that if it is already encoded...
I have encoded parameters saved, and I need to search for them. I don't know for input parameters, what will they be - encoded or not, so I have to know if I have to encode or decode them before search.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…