A recent change to Drupal.getPath added support for fully qualified URLs, http://drupal.org/node/140620, patch by Jomel.

Here's a patch to do the same for Drupal.prependPath.

Comments

nedjo’s picture

Status: Active » Fixed

Applied.

Jomel’s picture

Status: Fixed » Needs review
StatusFileSize
new982 bytes

Happened to notice that you stripped the path twice!

nedjo’s picture

Oops, thanks, I'll fix this soon.

nedjo’s picture

Status: Needs review » Fixed

Fixed, thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)