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

Improve password field handling #5

Closed
jayhawk87 opened this issue Oct 10, 2011 · 3 comments
Closed

Improve password field handling #5

jayhawk87 opened this issue Oct 10, 2011 · 3 comments

Comments

@jayhawk87
Copy link

Stop leaking user supplied values entered into password fields protected with negative captcha into log files.

@danmelnick
Copy link

This issue is 2 years old — any thoughts on moving it forward? I'd be happy to try and submit a pull request if you can give me a sense of what's involved here.

@erik-megarad
Copy link
Owner

I'm not sure if it is possible. It's most certainly not possible in 3.x, and in 4.x there's the new env['action_dispatch.parameter_filter'] with a lambda form, which makes it possible, but in order for it to figure out what fields are password fields we'd need our captcha object to be globally scoped, and that introduces all sorts of threading issues and....

Basically it's just a huge clusterfuck and you probably shouldn't be encoding password fields with negative_captcha. I might be amenable to removing them from the project entirely.

@danmelnick
Copy link

Got it, thanks for the reply — that makes total sense.

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