Show More
@@ -92,6 +92,7 b' def junk_form_data_detector(request):' | |||
|
92 | 92 | |
|
93 | 93 | def sanity_check_factory(handler, registry): |
|
94 | 94 | def sanity_check(request): |
|
95 | log.debug('Checking URL sanity') | |
|
95 | 96 | try: |
|
96 | 97 | junk_encoding_detector(request) |
|
97 | 98 | bad_url_data_detector(request) |
@@ -113,5 +114,5 b' def includeme(config):' | |||
|
113 | 114 | 'pyramid.events.NewRequest') |
|
114 | 115 | config.add_subscriber('rhodecode.subscribers.add_request_user_context', |
|
115 | 116 | 'pyramid.events.ContextFound') |
|
117 | config.add_tween('rhodecode.tweens.vcs_detection_tween_factory') | |
|
116 | 118 | config.add_tween('rhodecode.tweens.sanity_check_factory') |
|
117 | config.add_tween('rhodecode.tweens.vcs_detection_tween_factory') |
General Comments 0
You need to be logged in to leave comments.
Login now