Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

special chars in formular #4

Open
direk opened this issue Sep 8, 2015 · 3 comments
Open

special chars in formular #4

direk opened this issue Sep 8, 2015 · 3 comments

Comments

@direk
Copy link

direk commented Sep 8, 2015

Hi,

I am trying this code and it's great, but I have problem while saving password with special chars, eg "!" is being saved as three chars: %21

I am wondering if it can be easily patched, or just how to change GET method to POST...

@DSuds
Copy link

DSuds commented Dec 6, 2015

I patched that with an ugly quick urldecode function.

@Arismane
Copy link

Dear DSuds,

Can you please explain how did you solved the special characters issue inside the code? I didn't understand the urldecode function.. Please help I have the exact problem. Thank you very much!

@DSuds
Copy link

DSuds commented Jul 26, 2016

I wrote a function to quickly change URL Encoded characters back so - from "x%21%20%21x" to "x! !x"

For example:
qpass = urldecode(req.substring(req.lastIndexOf('=')+1));
takes the information after the last = and replaces the encoded sections with the characters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants