findologic / findologic-api

Library for sending requests to the Findologic API
MIT License
1 stars 3 forks source link

Make referer optional as it may not always be available #48

Closed TheKeymaster closed 4 years ago

TheKeymaster commented 4 years ago

Example:

  1. User is on page example.com and fires a search. Referrer is https://example.com?query=blub.
  2. The User now manually changes the URL to be https://example.com?query=blubbergurken.
  3. This causes the page to not have any referrer, which furthermore results in an InvalidParamException, because the referer parameter is required.