CGI encode and decode embedded path params