7.x-1.x-dev (2011-Nov-14)

When attempting to upload an image to a private file system path:

Warning: parse_url(private:///example.png) [function.parse-url]: Unable to parse URL in _filefield_paths_replace_path() (line 409 of /home/foo/public_html/sites/all/modules/filefield_paths/filefield_paths.module).

The image is successfully uploaded, however, when attempting to view the image I am returned with Access denied.

Original thread here: http://drupal.org/node/1381010

7.x-1.0-beta1 works fine.

Comments

a.milkovsky’s picture

I'he got the same problem. I used next code on line 421
$new = str_replace('///','//',$new);

deciphered’s picture

Status: Active » Fixed

Should be resolved in the next dev release, but please re-open if not.

Status: Fixed » Closed (fixed)

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

tamerzg’s picture

Status: Closed (fixed) » Active

It still happens with latest dev.

liquidcms’s picture

latest -dev fixes for me.

deciphered’s picture

Status: Active » Closed (fixed)

Don't re-open close issue please, if it's related, reference the original issue, if not, create a new issue. And please make sure to check the dates against the releases, if the date is prior to a stable release then it implies the fix is in dev not in stable.