Jump to content

verifyPath() matches wrong language


uiui
 Share

Recommended Posts

Hi,

I have the issue that LanguageSupportPageNames' verifypath corrects the language although it shouldn't.

A page shares its name among multiple languages and the url only differs in the first section of the path (e.g. /lang1/same and /lang2/same).

As verifypath seems to only take sections of the path into account independently, line 262, $name === $requestedPart is always true for the second language, although the path of the first language's version was requested.

Is that a bug or is my site set up erroneously?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...