Skip to content

Remove use of Str::slug when building reverse geocoding cache key#204

Merged
mikebronner merged 1 commit intogeocoder-php:masterfrom
valentin-dufois:master
Apr 18, 2026
Merged

Remove use of Str::slug when building reverse geocoding cache key#204
mikebronner merged 1 commit intogeocoder-php:masterfrom
valentin-dufois:master

Conversation

@valentin-dufois
Copy link
Copy Markdown
Contributor

Use of Str::slug when building reverse geocoding cache key was redundant as the characters allowed in the cache are already controller. This fixes a bug where geolocation with opposites lat/lngs (45/73 vs -45/73 vs 45/-73 vs -45/-73) would all have the same cache key.

This fixes issue #203.

Use of `Str::slug` when building reverse geocoding cache key was redundant as the characters allowed in the cache are already controller.
This fixes a bug where geolocation with opposites lat/lngs (45/73 vs -45/73 vs 45/-73 vs -45/-73) would all have the same cache key.
@mikebronner mikebronner merged commit cc510d4 into geocoder-php:master Apr 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants