Commit 663aa57
authored
Compare page and node URLs less strictly when choosing between multiple indices (#936)
This fixes an issue where the URL path in the index data may
additionally have a prefix before the /documentation segment. This
change allows the comparison to still work in that scenario where there
are multiple top-level trees of data provided in the Index JSON.
Resolves: rdar://1478297851 parent fa2044a commit 663aa57
File tree
2 files changed
+18
-1
lines changed- src/utils
- tests/unit/utils
2 files changed
+18
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
360 | 372 | | |
361 | 373 | | |
362 | 374 | | |
| |||
376 | 388 | | |
377 | 389 | | |
378 | 390 | | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
379 | 394 | | |
380 | 395 | | |
381 | 396 | | |
| |||
406 | 421 | | |
407 | 422 | | |
408 | 423 | | |
| 424 | + | |
| 425 | + | |
409 | 426 | | |
410 | 427 | | |
411 | 428 | | |
| |||
0 commit comments