-- 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: 7335e39cafb1ba1cfc1ebfd29c20bc009cf90e69:
path_to:
revision_to:

git.thebackupbox.net

urcd

git://git.thebackupbox.net/urcd

commit 7335e39cafb1ba1cfc1ebfd29c20bc009cf90e69
Author: root <root@localhost.(none)>
Date:   Sun Jan 25 19:28:01 2015 +0000

    [urc2sd] bugfix

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

index d4974e7ae66764751598701f8b78442b50a4b0ff..

index ..7092be9bdeec0cc33c386db2a1d924f5836e4835 100644

--- a/src/urc2sd.pyx
+++ b/src/urc2sd.pyx
@@ -339,7 +339,7 @@ while 1:
    if dst in channels:
     cmd, src = 1, re_SPLIT(buffer[1:],1)[0]
     if buffer.split('!',1)[1].split('@')[0] == 'sign': src = src.split('!',1)[0] + '!*@verified'
-    else: src = src.split('!',1)[0] + '!*@' + hexlify(crypto_hash_sha256(src.split('@',1)[1][:4])
+    else: src = src.split('!',1)[0] + '!*@' + hexlify(crypto_hash_sha256(src.split('@',1))[1][:4])
     for cmd in EXCEPT[dst]:
      if cmd(src):
       cmd = 0

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

-- Response ended

-- Page fetched on Sun Jun 2 15:28:41 2024