Sanitize the section number
Tolerate an extraneous trailing slash

Be liberal in what you accept, conservative in what you emit.