Validate the diff revision argument in rbt info.
Review Request #15299 — Created Sept. 14, 2026 and submitted — Latest diff uploaded
A non-numeric revision was sent to the API as-is. Review Board answered
with its HTML 404 page, and the whole page was printed as the error.
The revision is now parsed as an integer, with a clear error if that
fails.
Ran
rbt infowith a review request an a non-numeric diff revision. Saw
that I got an error instead of a bunch of HTML output.