Skip to content

duplicate query parameters #205

@katrinaaquino1

Description

@katrinaaquino1

Describe the bug
An extra set of query parameters is added to the URL

To Reproduce
Steps to reproduce the behavior:

  1. Start container with APPEND_SLASH_FOR_POSSIBLE_DIRECTORY=true, ALLOW_DIRECTORY_LIST=false, PROVIDE_INDEX_PAGE=true, and an index.html file at /test/index.html
  2. Run container and navigate to /test?a=asd
  3. index.html loads but URL is updated to /test/?a=asd?a=asd

Expected behavior
The index.html page loads and the URL remains /test?a=asd or updates to /test/?a=asd

Your environment
Using the most recent version of the master branch - 0cdacac
Running the container using the included Dockerfile.oss file on localhost
Using AWS S3 as a backend

Additional context
I noticed the duplication only happens when navigating to /test?a=asd, but not /test/?a=asd or /test/index.html?a=asd

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions