Repository navigation
Commit ca3afbf
committed
fix(render-client): verify a first revision that ends with a lone CR
The parent writes `\n` before its update, so a first revision ending
`%%EOF\r` is followed by `\r\n` in the sealed file, and its true end
falls between the two. The client tried only the marker's end and the
end of the whole end-of-line, and refused that seal as a protocol
error. It now tries every end through the end-of-line.
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>1 parent df3c12b commit ca3afbf
2 files changed
Lines changed: 18 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
662 | 662 | | |
663 | 663 | | |
664 | 664 | | |
665 | | - | |
| 665 | + | |
666 | 666 | | |
667 | 667 | | |
668 | 668 | | |
| |||
686 | 686 | | |
687 | 687 | | |
688 | 688 | | |
689 | | - | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
690 | 692 | | |
691 | 693 | | |
692 | 694 | | |
| |||
695 | 697 | | |
696 | 698 | | |
697 | 699 | | |
698 | | - | |
699 | | - | |
700 | | - | |
701 | 700 | | |
702 | 701 | | |
703 | 702 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
325 | 339 | | |
326 | 340 | | |
327 | 341 | | |
| |||
0 commit comments