[BUGFIX] Query parameters of external link may get altered