Validate max_retries on both target forms (closes #221)
All checks were successful
check / check (push) Successful in 3m36s

This commit was merged in pull request #259.
This commit is contained in:
2026-08-24 01:32:48 +02:00
parent 0082f216fa
commit fd5966f807
7 changed files with 571 additions and 31 deletions

View File

@@ -267,7 +267,7 @@ func (h *Handlers) finishResubmit(
// The page is read from the form rather than the query string:
// this is a POST, and its query string is what logs and Referer
// headers record.
if page := parseNonNegativeInt(
if page := pageOrFirst(
r.PostFormValue("page"),
); page > 1 {
dest += "&page=" + strconv.Itoa(page)