in #22336: Move all core Drupal files under a /core folder to improve usability and upgrades comment #299. quicksketch changed the chdir() in password-hash.sh to:

chdir('../..');

This is causing the script to go up two levels, simply out of Drupal dir, and causing password-hash.sh to stop working (includes paths not found). The correct chdir() is one-level only:

chdir('..');
CommentFileSizeAuthor
#1 1333192-1.patch380 bytesgood_man
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

good_man’s picture

FileSize
380 bytes
good_man’s picture

Status: Active » Needs review
xjm’s picture

Status: Needs review » Reviewed & tested by the community

Straightforward fix for a straightforward bug.

andypost’s picture

+1

catch’s picture

Status: Reviewed & tested by the community » Fixed

Fix looks fine and this is untestable. Committed/pushed to 8.x.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.