Show More
@@ -30,6 +30,7 b' import logging' | |||||
30 | import traceback |
|
30 | import traceback | |
31 |
|
31 | |||
32 | from dulwich import server as dulserver |
|
32 | from dulwich import server as dulserver | |
|
33 | from dulwich.web import LimitedInputFilter, GunzipFilter | |||
33 |
|
34 | |||
34 |
|
35 | |||
35 | class SimpleGitUploadPackHandler(dulserver.UploadPackHandler): |
|
36 | class SimpleGitUploadPackHandler(dulserver.UploadPackHandler): | |
@@ -225,6 +226,7 b' class SimpleGit(BaseVCSController):' | |||||
225 | repo_name=repo_name, |
|
226 | repo_name=repo_name, | |
226 | username=username, |
|
227 | username=username, | |
227 | ) |
|
228 | ) | |
|
229 | app = GunzipFilter(LimitedInputFilter(app)) | |||
228 | return app |
|
230 | return app | |
229 |
|
231 | |||
230 | def __get_repository(self, environ): |
|
232 | def __get_repository(self, environ): |
General Comments 0
You need to be logged in to leave comments.
Login now