diff options
| author | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2014-09-14 14:17:12 +0200 |
|---|---|---|
| committer | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2014-10-15 14:05:42 +0200 |
| commit | 0616d26feb0f96b3d4fd6b2744ae0288c9fed96b (patch) | |
| tree | 61a7550cfde0055605b4bfe1ba36bf7d1ce2d918 /searx/webapp.py | |
| parent | 6e6dbc1bb4a3e6f8746ea3677cdbc190c762b511 (diff) | |
improve https rewriting
Diffstat (limited to 'searx/webapp.py')
| -rw-r--r-- | searx/webapp.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/searx/webapp.py b/searx/webapp.py index 7952415af..d9dc5f710 100644 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -247,6 +247,9 @@ def index(): # set new url result['url'] = new_result_url + # target has matched, do not search over the other rules + break + if search.request_data.get('format', 'html') == 'html': if 'content' in result: result['content'] = highlight_content(result['content'], |