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 requests with arrays on the site #5206

Merged
merged 1 commit into from
Sep 19, 2019

Conversation

octavioamu
Copy link
Contributor

Description

This was first reporter as permissions not saving on the admin but actually affection any data sent by a form containing an array. Just the last one element of the array was getting into the backend so instead of <QueryDict: {'skills[]': ['css', 'solidity'], 'bountyId': ['37']}> the request.POST was getting <QueryDict: {'skills[]': [ 'solidity'], 'bountyId': ['37']}> Probably affecting lot of places on the application.

For now this PR just disabled django-bleach until we solved or probably remove it as that project is very new and just have 1 issue, not enough usage.

Refers/Fixes

Fix #5190
Fix #4893
And actually any array sent, like grants team people probably failing.

Testing

@octavioamu octavioamu changed the title comment out bleach failing any request with array FIX requests with arrays on the site Sep 17, 2019
@sarawut8128

This comment was marked as off-topic.

@thelostone-mc thelostone-mc merged commit 8e89c3a into stable Sep 19, 2019
@thelostone-mc thelostone-mc deleted the fix/permission-arrays-save branch June 27, 2020 00:45
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.

4 participants