pytracking icon indicating copy to clipboard operation
pytracking copied to clipboard

Base URLs Don't Encode Properly Without Terminating Slash

Open tmountain opened this issue 2 years ago • 1 comments

DEFAULT_SETTINGS = {
    "base_open_tracking_url": "http://pixels.example.com/track/",
    "base_click_tracking_url": "http://clicks.example.com/track?"
}

Given the example above, the base_open_tracking_url looks like this (correct):

http://pixels.example.com/track/

The base_click_tracking_url excludes the track? portion.

http://clicks.example.com/eyJ1cmwiOiAia...

The base URL should accommodate both scenarios.

tmountain avatar Dec 08 '22 15:12 tmountain