System file path is visible when at least second language is enabled and download method is set to private.

<script type="text/javascript" src="/files/languages/ro_52b2c0..93ff220867.js?R"></script>

In this case the system directory 'files' is located in the website root.

Comments

gábor hojtsy’s picture

Looks like locale_update_js_files() uses drupal_add_js() with data coming from file_create_path(). Looks like it should be using file_create_url(). Anyone up for a patch?

gábor hojtsy’s picture

gábor hojtsy’s picture

People are hard at work on this one at #250451: locale.module adds wrong js path.

gábor hojtsy’s picture

Status: Active » Closed (duplicate)