When visiting the xmlsitemap settings page, the directory prefix shown for the xmlsitemap_path setting is incorrect when the default file scheme is set to private rather than public.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pillarsdotnet’s picture

The attached patch ensures that the proper directory prefix is shown, regardless of the default file scheme.

pillarsdotnet’s picture

Status: Active » Needs review
FileSize
1.16 KB

Really, this time.

pillarsdotnet’s picture

Dave Reid’s picture

Dave Reid’s picture

Status: Needs review » Fixed

I actually decided to base this off using file_build_uri() without realpath involved as that's kind of what core does already.
http://drupalcode.org/project/xmlsitemap.git/commit/6f4b6f0

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