tweaselORG / TrackHAR

Library for detecting tracking data transmissions from traffic in HAR format.
Creative Commons Zero v1.0 Universal
5 stars 0 forks source link

Trim trailing slash from `endpointUrl` for matching #34

Open baltpeter opened 9 months ago

baltpeter commented 9 months ago

For example, we have both https://web.facebook.com/adnw_sync2 and https://web.facebook.com/adnw_sync2/ in the database. It's unnecessary and error-prone to require us to consider that in each adapter.

Instead, we should always trim trailing slashes when matching.