We're using ESI in a multilingual site, and the block we've converted to ESI is always shown in the default site language. We traced that problem to function esi_build_uri which does not take language into consideration.

To fix this, we're using function url instead of appending base_path(). Patch attached.

Files: 
CommentFileSizeAuthor
esi-language.patch601 bytesinfojunkie

Comments

Status:Active» Needs review

Version:6.x-2.0-beta1» 6.x-2.x-dev
Status:Needs review» Fixed

Thanks! Patch has been committed. That chunk of code came from AdvAgg's advagg_build_uri() in case your wondering.

Status:Fixed» Closed (fixed)

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