Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: stop encoding '.' to '%2E'#1766

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nejch merged 1 commit intomainfromjlvillal/leave_dot
Dec 21, 2021
Merged

fix: stop encoding '.' to '%2E'#1766

nejch merged 1 commit intomainfromjlvillal/leave_dot
Dec 21, 2021

Conversation

JohnVillalovos
Copy link
Member

@JohnVillalovosJohnVillalovos commentedDec 19, 2021
edited
Loading

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.

nejch reacted with thumbs up emojinejch reacted with rocket emoji
@JohnVillalovosJohnVillalovos marked this pull request as draftDecember 19, 2021 23:23
@JohnVillalovosJohnVillalovosforce-pushed thejlvillal/leave_dot branch 2 times, most recently from950b7ba tod12b829CompareDecember 19, 2021 23:38
@codecov-commenter
Copy link

codecov-commenter commentedDec 19, 2021
edited by codecovbot
Loading

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.95%. Comparing base(ccefe80) to head(702e41d).
Report is 1215 commits behind head on main.

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
FlagCoverage Δ
cli_func_v481.30% <100.00%> (-0.04%)⬇️
py_func_v480.67% <100.00%> (-0.04%)⬇️
unit83.20% <100.00%> (-0.03%)⬇️

Flags with carried forward coverage won't be shown.Click here to find out more.

Files with missing linesCoverage Δ
gitlab/client.py90.00% <100.00%> (-0.11%)⬇️
gitlab/utils.py88.00% <100.00%> (-1.66%)⬇️

@JohnVillalovosJohnVillalovos changed the titleJlvillal/leave dotchore: stop encoding '.' to '%2E'Dec 19, 2021
@JohnVillalovosJohnVillalovos marked this pull request as ready for reviewDecember 19, 2021 23:52
@JohnVillalovosJohnVillalovosforce-pushed thejlvillal/leave_dot branch 2 times, most recently fromd7893c1 to39155dfCompareDecember 20, 2021 00:15
@nejch
Copy link
Member

@JohnVillalovos could you make this afix type so it shows in the release and also add thestop encoding '.' to '%2E' sentence at the beginning of the breaking change trailer so it's clear in the release notes in the breaking changes list?

JohnVillalovos reacted with thumbs up emoji

@JohnVillalovos
Copy link
MemberAuthor

@JohnVillalovos could you make this afix type so it shows in the release and also add thestop encoding '.' to '%2E' sentence at the beginning of the breaking change trailer so it's clear in the release notes in the breaking changes list?

Done I think. Thanks.

Forcing the encoding of '.' to '%2E' causes issues. It also goesagainst the RFC:https://datatracker.ietf.org/doc/html/rfc3986.html#section-2.3From 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#1006Related#1356Related#1561BREAKING CHANGE: stop encoding '.' to '%2E'. This could potentially bea breaking change for users who have incorrectly configured GitLabservers which don't handle period '.' characters correctly.
@JohnVillalovosJohnVillalovos changed the titlechore: stop encoding '.' to '%2E'fix: stop encoding '.' to '%2E'Dec 21, 2021
@nejchnejch merged commiteef8059 intomainDec 21, 2021
@nejchnejch deleted the jlvillal/leave_dot branchDecember 21, 2021 13:57
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@nejchnejchnejch left review comments

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Creation project with "." in name works incorrectly.
3 participants
@JohnVillalovos@codecov-commenter@nejch

[8]ページ先頭

©2009-2025 Movatter.jp