Routing-API - Abfrage mit User-Agent Apache-HttpClient/4.5.14 schlägt fehl

Description of the bug:

Beim Versuch GET /routes mit dem User-Agent Apache-HttpClient/4.5.14 abzurufen wird ein 403 geliefert. Nach der Veränderung von Apache-HttpClient/4.5.14 zu apache-HttpClient/4.5.14 ist die Anfrage erfolgreich. Der User-Agent wird jedoch standardmäßig vom Apache Httpclient mit einem großen A gesetzt.

  1. curl -v -H "User-Agent:Apache-HttpClient" "https://routing-api-testing.fit-connect.fitko.dev/v1/routes?leikaKey=99123456760610&ars=13"
  2. curl -v -H "User-Agent:Apache-HttpClient" "https://routing-api-prod.fit-connect.fitko.net/v1/routes?leikaKey=99123456760610&ars=13"

Current behavior:

Bei Abfrage mit Useragent Apache-HttpClient/4.5.14 erhält man einen 403 forbidden.

Expected behavior:

Die Abfrage muss mit dem o.g. User-Agent erfolgreich sein

Environments:

TEST, PROD

Additional Information:

Dependency / relationship to other issues:

Responsible person / team:

Contact persons including contact details:

Screenshots / Logs / Requests:

FCONSD-891

image image

Checklist:

  • Add Severity label
  • Add team label
  • Related/affected issues/stories/epics linked and explained in the bug issue
  • Creation of an automated test
  • Bugfix deployed on DEV
  • Bugfix tested on DEV
  • Bugfix deployed on TEST
  • Bugfix tested on TEST (possibly also by the connection project itself)
  • Successful fix reported to Team Operations (Teams channel)
  • Bugfix deployed on STAGE
  • Bugfix tested on STAGE if necessary
  • Bugfix deployed on PROD
  • Bugfix tested on PROD (possibly also by the connection project itself)
  • Final communication by Team Operations if necessary
  • Internal documentation was checked and updated if necessary
  • External documentation has been checked and updated if necessary
  • Updated changelog if necessary

Approach/Solution:

Release version of the artifact:

Edited by Markus Flögel