This PR (since merged) seems relevant to the conversation: 
https://github.com/symfony/symfony/pull/2223

Exercise.com uses base URL's when generating asset paths for emails. One 
thing to be careful with is if you're doing this stuff in a console 
command, where this isn't a request to be utilized. That's what the PR 
above addresses (specifying base URL's or a CDN was the only solution I 
could come up with).

For request-dependent asset URL generators, I agree it would be a great 
idea to support absolute URL's instead of just relative paths, though. That 
said, I do not look forward to the task of adding this functionality to 
https://github.com/jmikola/JmikolaJsAssetsHelperBundle as well :)

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
To unsubscribe from this group, send email to
symfony-devs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to