com.qiniu.util.Auth类下privateDownloadUrlWithDeadline()方法token参数带冒号,会导致某些场景url格式有问题
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- java
- Domain
- authentication, backend
Research direction
Start by inspecting com.qiniu.util.Auth.privateDownloadUrlWithDeadline() and reproduce the URL-generation problem with a token containing a colon. Verify the resulting private URL passes the affected URL validation scenarios while retaining the intended token value, and add or update a focused test if the repository has coverage for this method.
Written by the indexing model from the issue text.
Description
com.qiniu.util.Auth类下privateDownloadUrlWithDeadline()方法在生成url的时候,会默认拼接token参数,当参数内带“:”时,该privateUrl某些场景会无法通过url校验,建议默认使用encode处理下
- Dominant language
- Java
- Stars
- 558
- Forks
- 468
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from qiniu/java-sdk
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
设置attname 出现中文乱码 Open
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
河北地区故障你们还修吗? Open
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
CDN的有些接口没找到,是否还未支持 Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100