Limit the page and chapter numbers to digits, to keep malicious URL components from being inserted onto the page.