Ticket #64 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Translation set slugs shouldn't be allowed to be the same as a locale slug

Reported by: nbachiyski Owned by: somebody
Priority: major Milestone:
Component: general Version:
Keywords: Cc:

Description

If a translation set has the same slug as a locale one, it is alway caught by the regular expression for a translation page.

For example if the translation set has slug my.

/projects/sample/bg/my/_permissions is interpreted as if the project slug is sample/bg, the locale is my and the translation set slug is _permissions.

Change History

  • Status changed from new to closed
  • Resolution set to fixed

(In [411]) Do not allow a directory to start with _. Let's leave it for special URLs. Fixes #64

Note: See TracTickets for help on using tickets.