Remove escaped_fragment snapshot rendering.
This commit is contained in:
parent
fea47bdaed
commit
746728ba24
5 changed files with 0 additions and 64 deletions
|
@ -32,7 +32,6 @@ from health.healthcheck import get_healthchecker
|
|||
from util.cache import no_cache
|
||||
from util.headers import parse_basic_auth
|
||||
from util.invoice import renderInvoiceToPdf
|
||||
from util.seo import render_snapshot
|
||||
from util.systemlogs import build_logs_archive
|
||||
from util.useremails import send_email_changed
|
||||
|
||||
|
@ -84,19 +83,6 @@ def user_view(path):
|
|||
return index('')
|
||||
|
||||
|
||||
@web.route('/snapshot', methods=['GET'])
|
||||
@web.route('/snapshot/', methods=['GET'])
|
||||
@web.route('/snapshot/<path:path>', methods=['GET'])
|
||||
def snapshot(path = ''):
|
||||
parsed = urlparse(request.url)
|
||||
final_url = '%s://%s/%s' % (parsed.scheme, 'localhost', path)
|
||||
result = render_snapshot(final_url)
|
||||
if result:
|
||||
return result
|
||||
|
||||
abort(404)
|
||||
|
||||
|
||||
@route_show_if(features.ACI_CONVERSION)
|
||||
@web.route('/aci-signing-key')
|
||||
@no_cache
|
||||
|
|
Reference in a new issue