Allow "." in filebackend container prefixes
authorAaron Schulz <aschulz@wikimedia.org>
Sat, 20 Jun 2015 00:10:49 +0000 (17:10 -0700)
committerKrinkle <krinklemail@gmail.com>
Fri, 26 Jun 2015 06:49:20 +0000 (06:49 +0000)
commit8d1eecab490886571475ec082fded4ca949a52c1
tree9bb458050aee575674acfd561bdf70f786673158
parent9336b95ed11edb068d83941f7767e298971c3d95
Allow "." in filebackend container prefixes

* This character in $wgDBname seems to be common enough.
  The wiki ID is the default container prefix, and if it
  is not accepted, then confusing errors occur that block
  all file uploads. The case of dots is handled now.
* Improved variable naming in resolveStoragePath().

Bug: T46066
Change-Id: I68458a876855894d01e8cf880bd6cfcfdae17bd0
includes/filebackend/FileBackendStore.php