Automattic / Automattic/knox

result.req.url for each specific simbole like space, (, ), etc... make double url encoding

Open
#288 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.7k
Forks
283
PR merge metrics
No merged PRs in 30d

Description

If I upload file with file name "Tux (copy).svg.72e06f3cdf16d9481d9bc1c2eb92f1d5.png",
I got URL: https://binary-options.s3.amazonaws.com/pf/Tux%2520%2528copy%2529.svg.72e06f3cdf16d9481d9bc1c2eb92f1d5.png

%2520 - is incorrect, have to be %20

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named in the issue. Reproduce the upload using the filename “Tux (copy).svg.72e06f3cdf16d9481d9bc1c2eb92f1d5.png” and trace how the object URL is constructed and encoded. Done means spaces and parentheses are encoded once, producing %20 and equivalent single-encoding sequences rather than %2520 or double-encoded characters.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.