FancyCaptcha: Add missing trailing /

Bug: T355962
Change-Id: Id266aa5671550410b570da41b1ccdc537752aa16
Depends-On: Iecc48db5237adc5b89c99019faac0af425e4eb5d
This commit is contained in:
Reedy 2024-01-26 22:50:05 +00:00
parent 9625c91e18
commit db932b2ae2

View file

@ -426,7 +426,7 @@ class FancyCaptcha extends SimpleCaptcha {
public function imagePath( $salt, $hash ) {
global $wgCaptchaDirectoryLevels;
$file = $this->getBackend()->getRootStoragePath() . '/' . $this->getStorageDir();
$file = $this->getBackend()->getRootStoragePath() . '/' . $this->getStorageDir() . '/';
for ( $i = 0; $i < $wgCaptchaDirectoryLevels; $i++ ) {
$file .= $hash[ $i ] . '/';
}