ezsystems/ezpublish-kernel — pull request #451 by lolautruche (2013-07-17 15:42:36+00:00)
Title: Fix EZP-21281: Warning: Could not generate user hash ! Fallback to anonymous hash

User hash generation was possible only if client IP was local (yeah I know, it looks stupid :sweat:, but makes sens when using a real reverse proxy like Varnish).

This patch adds a new check on a specific request attribute `internalRequest` which is added before forwarding the generation request to the kernel.