Skip to content

Revise SSH URL checker to allow '@' and ':' in path - #2523

Closed
W. Michael Petullo (flyn-org) wants to merge 1 commit into
JetBrains:masterfrom
flyn-org:master
Closed

W. Michael Petullo (flyn-org) wants to merge 1 commit into
JetBrains:masterfrom
flyn-org:master

Conversation

@flyn-org

Copy link
Copy Markdown
Contributor

RFC 3986 allows '@' and ':' characters in the path component of a URL, but SSH_URL_PATTERN did not. This revises SSH_URL_PATTERN to allow these characters, so that Intellij supports URLs of the following form:

user_at_example_dot_com@example.com:/home/user@example.com/project

See also https://youtrack.jetbrains.com/issue/IDEA-326235.

RFC 3986 allows '@' and ':' characters in the path component of a URL,
but SSH_URL_PATTERN did not. This revises SSH_URL_PATTERN to allow these
characters, so that Intellij supports URLs of the following form:

user_at_example_dot_com@example.com:/home/user@example.com/project

See also https://youtrack.jetbrains.com/issue/IDEA-326235.

Signed-off-by: W. Michael Petullo <mike@flyn.org>
@flyn-org

Copy link
Copy Markdown
Contributor Author

Aleksandr Krasilnikov (@a-krasilnikov), do you have any comment on this proposal?

@flyn-org

W. Michael Petullo (flyn-org) commented Dec 11, 2023 •

Copy link
Copy Markdown
Contributor Author

I teach an undergraduate class that would benefit from fixing this. Right now, the students must clone on the command line rather than from within IntelliJ IDEA because of the presence of '@' in the class's Git URLs. ybedrov, Kirill Likhodedov (@klikh), and Aleksandr Krasilnikov (@a-krasilnikov), might it be possible to address this before our next semester? I am happy to help test the final solution.

@klikh

Copy link
Copy Markdown
Contributor

W. Michael Petullo (@flyn-org) Thank you for the contribution. We've merged the pull request. And thanks for reminding.

@flyn-org

Copy link
Copy Markdown
Contributor Author

Confirmed shipped in idea-IC-241.14494.240 (ideaIC-2024.1.tar.gz). This is great. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants