Two problems here..

- url() should not be used for the .swf file because it's a real file and not a drupal path. Because that function will prefix the URL with a language prefix and therefore won't find the file anymore

- On the other hand, the data path can be simplified by using url().

See attached patch.

CommentFileSizeAuthor
fix_path_when_using_lang_prefix.patch1.8 KBberdir

Comments

rsevero’s picture

Assigned: Unassigned » rsevero
Status: Needs review » Fixed

It looks neat. Applied with http://drupal.org/cvs?commit=405460

Thanks for the report and patch.

Status: Fixed » Closed (fixed)

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