mirror of https://gitlab.com/bashrc2/epicyon
Invert logic
parent
a4b74c70db
commit
4edc3af8f7
|
@ -13805,7 +13805,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
|
|
||||||
self._benchmarkPOSTtimings(POSTstartTime, POSTtimings, 21)
|
self._benchmarkPOSTtimings(POSTstartTime, POSTtimings, 21)
|
||||||
|
|
||||||
if not self.headers.get('signature'):
|
if self.headers.get('signature'):
|
||||||
if 'keyId=' not in self.headers['signature']:
|
if 'keyId=' not in self.headers['signature']:
|
||||||
if self.server.debug:
|
if self.server.debug:
|
||||||
print('DEBUG: POST to inbox has no keyId in ' +
|
print('DEBUG: POST to inbox has no keyId in ' +
|
||||||
|
|
3
tests.py
3
tests.py
|
@ -3116,6 +3116,9 @@ def testValidHashTag():
|
||||||
|
|
||||||
def runAllTests():
|
def runAllTests():
|
||||||
print('Running tests...')
|
print('Running tests...')
|
||||||
|
testHttpsig()
|
||||||
|
return
|
||||||
|
|
||||||
testFunctions()
|
testFunctions()
|
||||||
testValidHashTag()
|
testValidHashTag()
|
||||||
testPrepareHtmlPostNickname()
|
testPrepareHtmlPostNickname()
|
||||||
|
|
Loading…
Reference in New Issue