in2code-de / ipandlanguageredirect

TYPO3 redirect - browserlanguage and ip-address based
GNU General Public License v3.0
14 stars 14 forks source link

[TASK] make sure '?key=' is added to IpApi url if ipApiKey is set #7

Closed pixelmatseriks closed 6 years ago

pixelmatseriks commented 6 years ago

When ipApiKey is added in extension manager settings, the url to ipapi should be: https://ipapi.co/ipaddress/json/?key=someapikeyfromextsettings instead of just https://ipapi.co/ipaddress/json/. It works without this commit if the part ?key= is included in extension manager settings, but with this change it will work also if the ?key= part isn't included.

einpraegsam commented 6 years ago

Thx for your time