JSONPointer pre-existing bug in toURIFragment()
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
Research direction
Start at the toURIFragment() entry point and inspect how decoded refTokens are converted into the URI fragment. Check the RFC 6901 handling for tokens containing ~ and /, then verify that the resulting fragment parses back to the same pointer, including both characters. Ask the issue author for details if the expected behavior remains unclear.
Written by the indexing model from the issue text.
Description
toURIFragment() percent-encodes each reference token but never applies the
~0/~1 escaping required by RFC 6901. Since refTokens holds decoded
literal key names, any token containing ~ or / produces a URI fragment that
does not parse back to the same pointer. This should be fixed after #1078, but before the next release.
If anyone wants to work on this, ping me for more details.
- Dominant language
- Java
- Stars
- 4.7k
- Forks
- 2.6k
- Avg merge
- 6d 20h
- Merged PRs (30d)
- 2
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 stleary/JSON-java
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Fix before the next release
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Active discussion
Difficulty 5/5 Over a week Newbie friendliness 35/100
All issues in stleary/JSON-java
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
elastic/gradle-plugins#157 ·
-
enhancement Tools
Difficulty 1/5 Under an hour Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
apache/rocketmq-dashboard#5008 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
DETECT_PARAMETER_NAMES=false silently disables @ConstructorProperties-based Creator detection too Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
FasterXML/jackson-databind#6229 ·