studioespresso / craft-navigate

Navigate makes adding and maintaining menu's and navigations a breeze. Set what types of links a menu may contain, make multi-level navigations, built-in active-state check, custom classes per item.
https://plugins.craftcms.com/navigate
Other
26 stars 7 forks source link

An extra slash in the URL generates an error. #75

Closed KarelJanVanHaute closed 3 months ago

KarelJanVanHaute commented 3 months ago

When switching between multiple sites within a navigation, an extra slash is added to the 'site' parameter. This results in an error.

image

The error is due to the fact that I want to use that parameter to get the site in other code. But the extra slash should not be there.

janhenckens commented 3 months ago

Hey @KarelJanVanHaute, this should already be fixed in the latest version (I see you're in 3.1.3, is fixed in 3.2.1)