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

Fix CSRF validation when token is unicode #11

Merged
merged 1 commit into from
Feb 9, 2016
Merged

Fix CSRF validation when token is unicode #11

merged 1 commit into from
Feb 9, 2016

Conversation

pvalsecc
Copy link
Contributor

@pvalsecc pvalsecc commented Nov 3, 2015

Pramid's params can be either str or unicode depending on the encoding.
Without this fix, constant_time_compare gives a TypeError: 'unicode' does
not have the buffer interface.

Pramid's params can be either str or unicode depending on the encoding.
Without this fix, constant_time_compare gives a TypeError: 'unicode' does
not have the buffer interface.
@heyleke
Copy link

heyleke commented Dec 26, 2015

Is there a reason for this pull request not being merged, besides 'time to do it'? Pylons interactive debugger is suffering from this issue (obviously?).

@digitalresistor
Copy link
Member

Those people that are familiar with the project, and thus can review and merge this change and verify it doesn't break anything, are no longer actively working on the project.

@stevepiercy
Copy link
Member

@bertjwregeer should we post something prominent on the docs or readme to that affect? Also mention that options include forking or attaining sufficient familiarity with the project to perform the merge under Pylons Project? We ought to set expectations to align with reality.

See also:

@pvalsecc
Copy link
Contributor Author

Have you guys checked the complexity of this PR? It's a one liner with a total lack of complexity...

@stevepiercy
Copy link
Member

@pvalsecc you can look up the package owner on pypi and contact them directly to request the merge.

@digitalresistor
Copy link
Member

@stevepiercy The owner is @bbangert. He did the last merge on this project too.

@pvalsecc Even if I were to merge it, I don't have permission to cut a new release and push it to pypi, so it wouldn't solve the issue unfortunately.

@digitalresistor
Copy link
Member

Just got push access to PyPi. Will pull this PR in, and get a new release cut within the next day or so.

@digitalresistor digitalresistor merged commit 5a6df15 into Pylons:master Feb 9, 2016
@digitalresistor
Copy link
Member

@pvalsecc Update on PyPi as version 0.12.

@pvalsecc
Copy link
Contributor Author

Cool! Thanks @bertjwregeer, I see it.

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

Successfully merging this pull request may close these issues.

None yet

4 participants