Fixed process_path to use system parse_url and regex to match only /.* OR end of string. Also fixed localize_here to use $relocalize in localize_url.