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

app: don't sanitize search param for list pages #49

Merged
merged 6 commits into from
Jul 11, 2019
Merged

Conversation

arurao
Copy link
Contributor

@arurao arurao commented Jul 10, 2019

  • Identified the issue which this PR solves.
  • Read the CONTRIBUTING document.
  • Code builds clean without any errors or warnings.
  • Added appropriate tests for any new functionality.
  • All new and existing tests passed.
  • Added comments in the code, where necessary.
  • Ran make check to catch common errors. Fixed any that came up.

Description:
This PR fixes an issue where search parameters were being sanitized on list pages, and which could lead to a broken state.

Which issue(s) this PR fixes:
On list pages, spaces at the end were forcefully being trimmed on the UI. In some situations, this could lead to the page being broken.

Describe any introduced user-facing changes:
Searching on list pages now allows spaces at the end/beginning on the backend. It basically takes the search parameters 'as it is' for searching. Forceful trimming is no longer observed.

@arurao arurao requested review from mastercactapus and m17ch July 10, 2019 20:06
mastercactapus
mastercactapus previously approved these changes Jul 10, 2019
m17ch
m17ch previously approved these changes Jul 10, 2019
Copy link
Contributor

@m17ch m17ch left a comment

Choose a reason for hiding this comment

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

👍

@arurao arurao dismissed stale reviews from m17ch and mastercactapus via 41b037b July 10, 2019 20:37
@arurao arurao requested review from mastercactapus and m17ch July 10, 2019 20:42
@arurao arurao merged commit 104fed8 into master Jul 11, 2019
@arurao arurao deleted the search-param branch July 11, 2019 14:56
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.

3 participants