Commit 14bc87a
committed
book(xrefs): maintain question marks that are part of the URL path
We need to be careful to allow for a trailing question mark in the
sections' titles; These need to be (URL-)encoded in the URL and not be
mistaken for the separator between path and GET parameter(s).
While at it, also install redirects for URLs containing a question mark
so that incorrect URLs that contain a literal question mark (which is
interpreted as separator between the URL path and the `GET`
parameter(s)) redirect to the correct ones.
Signed-off-by: Johannes Schindelin <[email protected]>1 parent 415636d commit 14bc87a
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | | - | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
267 | 273 | | |
268 | 274 | | |
269 | 275 | | |
| |||
294 | 300 | | |
295 | 301 | | |
296 | 302 | | |
297 | | - | |
| 303 | + | |
298 | 304 | | |
299 | 305 | | |
300 | 306 | | |
| |||
0 commit comments