arXiv / arxiv-search

arXiv Search UI & APIs

Home Page:https://arxiv.github.io/arxiv-search/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mismatched quotes not raising exception in Classic API

JaimieMurdock opened this issue · comments

via @DavidLFielding :

I expected mismatched quotes might cause havoc in the system or not return an error.

The query: http://127.0.0.1:5000/query?search_query=ti:"electron
with intentionally missing quote generates stack trace and exception:

"search.services.index.exceptions.IndexConnectionError: Problem communicating with ES: search_phase_execution_exception"

Again, these issues may be something to address down the road, but I just wanted to inform you of some of my experiences while trying to break the system.