fix: stop encoding '.' to '%2E' by JohnVillalovos · Pull Request #1766 · python-gitlab/python-gitlab
Repository navigation
fix: stop encoding '.' to '%2E' - #1766
Merged
nejch merged 1 commit into main from jlvillal/leave_dot Dec 21, 2021
Merged
fix: stop encoding '.' to '%2E' #1766 nejch merged 1 commit into main from jlvillal/leave_dot
Conversation
JohnVillalovos commented Dec 19, 2021 · edited Loading
Copy link Copy Markdown
Member
Forcing the encoding of '.' to '%2E' causes issues. It also goes
against the RFC:
https://datatracker.ietf.org/doc/html/rfc3986.html#section-2.3
From the RFC:
For consistency, percent-encoded octets in the ranges of ALPHA
(%41-%5A and %61-%7A), DIGIT (%30-%39), hyphen (%2D), period (%2E),
underscore (%5F), or tilde (%7E) should not be created by URI
producers...
Closes #1006
Related #1356
Related #1561
BREAKING CHANGE: stop encoding '.' to '%2E'. This could potentially be
a breaking change for users who have incorrectly configured GitLab
servers which don't handle period '.' characters correctly.
950b7ba to
d12b829
Compare
December 19, 2021 23:38
codecov-commenter
commented
Dec 19, 2021
·
edited by codecov
Bot
Loading
Copy link Copy Markdown
Codecov ReportAll modified and coverable lines are covered by tests ✅ Additional details and impacted files @@ Coverage Diff @@ ## main #1766 +/- ## ========================================== - Coverage 91.97% 91.95% -0.02% ========================================== Files 76 76 Lines 4759 4751 -8 ========================================== - Hits 4377 4369 -8 Misses 382 382
Flags with carried forward coverage won't be shown. Click here to find out more.
|
d12b829 to
f6066c7
Compare
December 19, 2021 23:49 JohnVillalovos changed the title Jlvillal/leave dot chore: stop encoding '.' to '%2E' Dec 19, 2021 JohnVillalovos force-pushed the jlvillal/leave_dot branch from
f6066c7 to
ca0e183
Compare
December 19, 2021 23:51 JohnVillalovos marked this pull request as ready for review December 19, 2021 23:52 JohnVillalovos force-pushed the jlvillal/leave_dot branch 2 times, most recently from
d7893c1 to
39155df
Compare
December 20, 2021 00:15 JohnVillalovos mentioned this pull request Dec 20, 2021 feat(api): support file format for repository archive #1561 Merged
nejch commented Dec 20, 2021
Copy link Copy Markdown
Member
|
@JohnVillalovos could you make this a |
39155df to
daa2e65
Compare
December 20, 2021 21:59
JohnVillalovos commented Dec 20, 2021
Copy link Copy Markdown
Member
Author
Done I think. Thanks. |
View reviewed changes
fix: stop encoding '.' to '%2E'
702e41d
Forcing the encoding of '.' to '%2E' causes issues. It also goes against the RFC: https://datatracker.ietf.org/doc/html/rfc3986.html#section-2.3 From the RFC: For consistency, percent-encoded octets in the ranges of ALPHA (%41-%5A and %61-%7A), DIGIT (%30-%39), hyphen (%2D), period (%2E), underscore (%5F), or tilde (%7E) should not be created by URI producers... Closes #1006 Related #1356 Related #1561 BREAKING CHANGE: stop encoding '.' to '%2E'. This could potentially be a breaking change for users who have incorrectly configured GitLab servers which don't handle period '.' characters correctly.JohnVillalovos force-pushed the jlvillal/leave_dot branch from
daa2e65 to
702e41d
Compare
December 20, 2021 22:24 JohnVillalovos changed the title chore: stop encoding '.' to '%2E' fix: stop encoding '.' to '%2E' Dec 21, 2021 nejch merged commit
eef8059
into
main
Dec 21, 2021
nejch
deleted the
jlvillal/leave_dot
branch
December 21, 2021 13:57
This was referenced Jan 5, 2022
Breaking changes in 3.0.0
#1520
Closed
fix: remove custom URL encoding
#1816
Merged
Sign up for free
to join this conversation on GitHub .
Already have an account?
Sign in to comment