Ver código fonte

Merge branch 'service-name-xss' of git://github.com/durin42/dulwich

Jelmer Vernooij 11 anos atrás
pai
commit
a1f542ce56
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      dulwich/web.py

+ 1 - 1
dulwich/web.py

@@ -166,7 +166,7 @@ def get_info_refs(req, backend, mat):
     if service and not req.dumb:
         handler_cls = req.handlers.get(service, None)
         if handler_cls is None:
-            yield req.forbidden('Unsupported service %s' % service)
+            yield req.forbidden('Unsupported service')
             return
         req.nocache()
         write = req.respond(HTTP_OK, 'application/x-%s-advertisement' % service)