snowplow / snowplow-cpp-tracker

Snowplow event tracker for C++. Add analytics to your C++ applications, games and servers
http://snowplowanalytics.com
Apache License 2.0
9 stars 6 forks source link

Check whether the collector URI is empty #83

Closed matus-tomlein closed 1 year ago

matus-tomlein commented 1 year ago

In case the collector hostname is empty, the tracker still tries to make a request to the collector but without any hostname in the POST URL, so it becomes: https:///com.snowplowanalytics.snowplow/tp2

We should validate the hostname and raise an exception in case it is empty.