ktorio / ktorio/ktor

correctly encoded query string has been altered after decode and re-encode process

Open
#429 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
14.5k
Forks
1.3k
Avg merge
2d 13h
Merged PRs (30d)
49

Description

https://github.com/ktorio/ktor/blob/7092c30706f34242419a5f0c81445dca06461dc3/ktor-http/src/io/ktor/http/URLUtils.kt#L28

should the query string from URI be considered encoded already and skip the decode and re-encode process?

Contributor guide

Open the contributing guide

Research direction

Start in ktor-http/src/io/ktor/http/URLUtils.kt at the linked line and trace how the URI query is decoded and re-encoded. Reproduce the reported alteration with an already encoded query, determine the expected preservation behavior, and verify it with relevant URL handling coverage if available.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.