patched around koa url generating issue where the optional paramters render with a %3F in the path.