Replaced str_replace with ltrim to allow for url params to contain the parent page handle without it getting removed from string.
Replaced str_replace with ltrim to allow for url params to contain the parent page handle without it getting removed from string.

Signed-off-by: Marcin Konicki <f8821e4308e493cc2ba6402c270dbf96a8ae46f5@gmail.com>
ahwayakchih/improvedpageresolve