Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Hide full url path when 404 error is thrown

Closes #78

How to test

  1. Search for !dg cat (The engine seems to be crashing right now, a 404 http status code)
  2. The logs should tell something like "ERROR:searx.search.processor.online:engine digg : exception : (404) Resource not found for "digg.com". Are you sure the API endpoint is valid?"

Before, in this case it would show the full url requested, which in turn would leak the user query. This MR changes the overall logging message

Edited by Israel Yago Pereira

Merge request reports

Loading