Normalize User Agent across application #89

Closed
opened 2022-06-05 16:36:49 +02:00 by MrPetovan · 0 comments
Owner

See https://github.com/friendica/friendica/issues/11607

We use two different HTTP clients in the Directory, vanilla Curl and WebRequest, and each have their own User-Agent setting. The WebRequest User-Agent has been flagged in malware database.

The plan is to replace both systems with a Guzzle client that can be instantiated once with a custom User-Agent using the software version and used all across the application.

See https://github.com/friendica/friendica/issues/11607 We use two different HTTP clients in the Directory, vanilla Curl and WebRequest, and each have their own User-Agent setting. The WebRequest User-Agent has been flagged in malware database. The plan is to replace both systems with a Guzzle client that can be instantiated once with a custom User-Agent using the software version and used all across the application.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: friendica/friendica-directory#89
No description provided.