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

<username>/formList endpoint is not case insensitive #1982

Closed
DavisRayM opened this issue Jan 11, 2021 · 0 comments · Fixed by #1988
Closed

<username>/formList endpoint is not case insensitive #1982

DavisRayM opened this issue Jan 11, 2021 · 0 comments · Fixed by #1988
Assignees
Labels

Comments

@DavisRayM
Copy link
Contributor

DavisRayM commented Jan 11, 2021

Environmental Information

  • Onadata version: latest

Problem description

Currently, the <username>/formList endpoint is not case insensitive when it searches for the username parameter. Which leads to scenarios where davisraym/formList would return 200s while davisRayM/formList would return 404s.

Expected behavior

The endpoint should be case-insensitive like all other Aggregate endpoints i.e <username>/submission

Steps to reproduce the behavior

  1. Create a user with username bob
  2. (Optional) Upload a XForm
  3. Try accessing /Bob/formList

Additional Information

Logs, related issues, weird / out of place occurrences, local settings, possible approach to solving this...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant