Преглед на файлове

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

Jelmer Vernooij преди 11 години
родител
ревизия
a1f542ce56
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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)