Skip to content

convertToSubmissionVersion: don't support case-insensitive URLs#1793

Open
alxndrsn wants to merge 4 commits intogetodk:masterfrom
alxndrsn:remove-case-insensitivity-in-submissions-redirects
Open

convertToSubmissionVersion: don't support case-insensitive URLs#1793
alxndrsn wants to merge 4 commits intogetodk:masterfrom
alxndrsn:remove-case-insensitivity-in-submissions-redirects

Conversation

@alxndrsn
Copy link
Copy Markdown
Contributor

@alxndrsn alxndrsn commented Apr 2, 2026

Per #1786, URLs are now expected to be case-sensitive. This commit removes special handling for case-insensitivity introduced in eb789c7 / #1763.

What has been done to verify that this works as intended?

Inverted an existing test.

Why is this the best possible solution? Were any other approaches considered?

  • simplifies code
  • more consistent with other route handling

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

Maybe a surprise if relying on case-insensitivity in this specific endpoint. #1786 may have been more surprising.

Does this change require updates to the API documentation? If so, please update docs/api.yaml as part of this PR.

No.

Before submitting this PR, please make sure you have:

  • run make test and confirmed all checks still pass, or witnessed Github completing all checks with success
  • verified that any code from external sources are properly credited in comments or that everything is internally sourced

Per getodk#1786, URLs are now expected to be case-sensitive.  This commit removes special handling for case-insensitivity introduced in eb789c7 / getodk#1763.
@alxndrsn alxndrsn marked this pull request as ready for review April 15, 2026 08:13
@alxndrsn alxndrsn requested a review from sadiqkhoja April 15, 2026 08:19
Comment thread lib/util/http.js Outdated
@alxndrsn alxndrsn requested a review from sadiqkhoja April 18, 2026 05:27
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.

2 participants