Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ircs as an supported protocol #1221

Merged
merged 1 commit into from
Jun 20, 2021

Conversation

KaiserBarbarossa
Copy link
Member

InterWiki links like [ircs://irc.libera.chat/ubuntuusers #ubuntuusers]
didn’t work because ircs wasn’t interpreted as an protocol.

This commit changes the regex

r'(?:(?:https?|ftps?|file|ssh|mms|svn(?:\+ssh)?|git|dict|nntp|irc|'

to

r'(?:(?:https?|ftps?|file|ssh|mms|svn(?:\+ssh)?|git|dict|nntp|ircs?|'

which allows using both irc:// and ircs:// in InterWiki links.

InterWiki links like [ircs://irc.libera.chat/ubuntuusers #ubuntuusers]
didn’t work because ircs wasn’t interpreted as an protocol.

This commit changes the regex

r'(?:(?:https?|ftps?|file|ssh|mms|svn(?:\+ssh)?|git|dict|nntp|irc|'

to

r'(?:(?:https?|ftps?|file|ssh|mms|svn(?:\+ssh)?|git|dict|nntp|ircs?|'

which allows using both irc:// and ircs:// in InterWiki links.
@chris34 chris34 merged commit 998bca0 into inyokaproject:staging Jun 20, 2021
@chris34 chris34 deleted the ircs branch June 20, 2021 16:15
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.

2 participants