ezsystems/ezpublish-kernel — pull request #651 by bdunogier (2013-12-05 15:07:30+00:00)
Title: Fix EZP-22055: A partial pathString will load a REST location

REST uses the pathString to load a locationId, unlike the Public API, to ensure locations unicity.

The loading code was only considering the last number of the path string, making all previous parts useless. With this patch, a 404 will be returned if the path string parameter doesn't match the loaded location's path string.