-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: urcd
action: commit
revision:
path_from:
revision_from: 676d84747d8e63de3ef4e376940a979f661a67a7:
path_to:
revision_to:

git.thebackupbox.net

urcd

git://git.thebackupbox.net/urcd

commit 676d84747d8e63de3ef4e376940a979f661a67a7
Author: root <root@localhost.(none)>
Date:   Wed Jun 25 19:48:51 2014 +0000

    [urcd, urc2sd] allow \ in nick!user@server

diff --git a/src/urc2sd.pyx b/src/urc2sd.pyx

index 5b702911866d9947b03ae55191fad717ede53093..

index ..373ad486a872763806ad2dab94ea450d161ef781 100644

--- a/src/urc2sd.pyx
+++ b/src/urc2sd.pyx
@@ -14,7 +14,7 @@ import sys
 import re
 import os

-RE = 'a-zA-Z0-9^(\)\-_{\}[\]|'
+RE = 'a-zA-Z0-9^(\)\-_{\}[\]|\\\\'
 re_USER = re.compile('!\S+@',re.IGNORECASE).sub
 re_SPLIT = re.compile(' +',re.IGNORECASE).split
 re_CLIENT_PRIVMSG_NOTICE_TOPIC = re.compile('^:['+RE+']+![~:#'+RE+'.]+@[:#'+RE+'.]+ ((PRIVMSG)|(NOTICE)|(TOPIC)) [#&!+]['+RE+']+ :.*$',re.IGNORECASE).search
diff --git a/src/urcd.pyx b/src/urcd.pyx

index 0e0e093df07e51ab21a894b5b7cdcaf58acf8d98..

index ..bd2252f2606884b952b7726a1d718a0dacfcac5c 100644

--- a/src/urcd.pyx
+++ b/src/urcd.pyx
@@ -15,7 +15,7 @@ import sys
 import re
 import os

-RE = 'a-zA-Z0-9^(\)\-_{\}[\]|'
+RE = 'a-zA-Z0-9^(\)\-_{\}[\]|\\\\'
 re_USER = re.compile('!\S+@',re.IGNORECASE).sub
 re_SPLIT = re.compile(' +:?',re.IGNORECASE).split
 re_CHATZILLA = re.compile(' $',re.IGNORECASE).sub

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 16:51:39 2024