Page MenuHomePhabricator

isValidContainerName in /includes/filebackend/FileBackendStore.php not accepting databases starting with "_".
Closed, DuplicatePublic

Description

I have a database that has a name which starts with underscore "_", the container name would be something like this

_rzuw_wiki2015-wiki2015_-local-public

And it is not accepted as a valid container name which leads to the misleading error of "can not create directory in mwstrore://...". Is it intended or is just a mistake?

Event Timeline

Pouyan created this task.Dec 2 2015, 9:44 AM
Pouyan raised the priority of this task from to Needs Triage.
Pouyan updated the task description. (Show Details)
Pouyan added a project: MediaWiki-API.
Pouyan added a subscriber: Pouyan.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptDec 2 2015, 9:44 AM
Anomie set Security to None.
Restricted Application added projects: Multimedia, Commons. · View Herald TranscriptDec 2 2015, 2:11 PM
Restricted Application added a subscriber: Steinsplitter. · View Herald Transcript
Restricted Application added a subscriber: Matanya. · View Herald TranscriptDec 2 2015, 7:15 PM