mirror of
https://github.com/parchlinuxB/Gitee.git
synced 2025-02-24 02:45:43 -05:00
[fix] query escaped in all htmls, invalid todo removed
This commit is contained in:
parent
22a3cf7ac7
commit
ed925cf561
1 changed files with 0 additions and 1 deletions
|
@ -307,7 +307,6 @@ def autocompleter():
|
|||
else:
|
||||
request_data = request.args
|
||||
|
||||
# TODO fix XSS-vulnerability
|
||||
query = request_data.get('q', '').encode('utf-8')
|
||||
|
||||
if not query:
|
||||
|
|
Loading…
Add table
Reference in a new issue