Needs work
Project:
User Relationships
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Jan 2010 at 11:25 UTC
Updated:
21 Mar 2012 at 15:05 UTC
Jump to comment: Most recent file
Comments
Comment #1
alex.k commentedDarren, could you take a look at this? We have come across this issue not long ago. Thanks.
Comment #2
mrf commentedClosed #825296: Page not found for loadingAnimation.gif as duplicate of this issue.
Comment #3
mrf commentedCommitted to 6.x-dev. This is missing from 7.x as well patch attached.
Comment #4
berdirWon't this break just the same if the default language does have a language prefix as well?
Comment #5
fietserwinIt looks like this issue is related to core issue #1196606: url()/locale_language_url_rewrite_url(): language prefix should not be added to URL's pointing to existing resources. That issue is still about finding out if we think that the url() function should be able to handle paths to existing resources, or that only file_create_url() should be used for that.
Workaround if you want to use url(): pass in a language object that has an empty prefix property:
EDIT: and yes, berdir is right. The proposed patch above won't work if the default language also has prefix.