这是indexloc提供的服务,不要输入任何密码
Skip to content
Discussion options

You must be logged in to vote

Does anyone know the exact path that is being used to make autocomplete requests? I could possibly bypass just that resource in authelia.

/autocompleter?q={searchTerms}

From the routing ..

@app.route('/autocompleter', methods=['GET', 'POST'])

And here in the opensearch.xml (template) ..

{% if autocomplete %}
<Url rel="suggestions" type="application/x-suggestions+json" method="{{ opensearch_method }}" template="{{ url_for('autocompleter', _external=True) }}?q={searchTerms}"/>
{% endif %}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@return42
Comment options

Answer selected by silmarine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
opensearch Autodiscovery of search plugins based on the OpenSearch protocol
2 participants