Ticket #64 (closed defect: fixed)

Opened 5 months ago

Last modified 5 months 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

Changed 5 months ago by nbachiyski

  • 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.