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

export: fix urlencode at export #267

Merged
merged 1 commit into from
Sep 21, 2020
Merged

export: fix urlencode at export #267

merged 1 commit into from
Sep 21, 2020

Conversation

benerken
Copy link
Contributor

@benerken benerken commented Sep 16, 2020

When the user clicks on Export Button, he gets
an error 400 because url is not encoded.

Co-Authored-by: Benoit Erken erken.benoit@gmail.com
Co-Authored-by: Renaud Michotte renaud.michotte@gmail.com

How to test?

  • Test the following URL: /professional/records/items?q=call_number:{"01924" TO "02000"}&page=1&size=10
    and click on "Export as CSV". You should receive a file (and not an HTTP 400 Error)

Code review check list

  • Commit message template compliance.
  • Commit message without typos.
  • File names.
  • Functions names.
  • Functions docstrings.
  • Unnecessary commited files?
  • Extracted translations?

When the user clicks on Export Button, the user
gets an error 400 because url was not encoded.

Co-Authored-by: Benoit Erken <erken.benoit@gmail.com>
Co-Authored-by: Renaud Michotte <renaud.michotte@gmail.com>
@benerken benerken self-assigned this Sep 16, 2020
@benerken benerken marked this pull request as ready for review September 16, 2020 09:43
@iGormilhit iGormilhit added this to the v0.12.0 (rero-ils) milestone Sep 16, 2020
Copy link

@iGormilhit iGormilhit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commit message approved.

@benerken benerken merged commit aa1cd0e into rero:dev Sep 21, 2020
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.

6 participants