When importing a file URI that is inside the root public directory, ex: "public://some-image.jpg", the logic that determines if the trailing slash should be used is handled incorrectly. Instead of hardcoding the forward slash, it should be dynamically determined based on the destination value.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

CoderBrandon created an issue. See original summary.

CoderBrandon’s picture

MegaChriz’s picture

Status: Active » Needs review

Can you give me the easiest way to reproduce the issue? This way the bug can be backed up with an automated test.