Repository navigation
Commit b970253
committed
Keep both accounts signed in for the cross account checks
The cross account checks run last, after the engines, which on a deep scan
can take hours. By then the sign in from the start of the scan has often
run out, and the site answers an authenticated request with a "your
session has expired" page. That page is HTTP 200, so the old check read
it as the account's real page and could report access that was not there.
Three changes fix it. Each account signs in fresh at the start of this
stage, so the sessions are seconds old, not hours. A "session expired" or
"sign in" page is now recognised and never treated as the account's
content, so a check never fires against one. And if a session still runs
out while the checks are going, that account signs in again once and the
request is retried, so a slow stage does not lose the session.1 parent 5780f6e commit b970253
2 files changed
Lines changed: 67 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
195 | 210 | | |
196 | 211 | | |
197 | 212 | | |
| |||
524 | 539 | | |
525 | 540 | | |
526 | 541 | | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
527 | 559 | | |
528 | 560 | | |
529 | 561 | | |
| |||
533 | 565 | | |
534 | 566 | | |
535 | 567 | | |
536 | | - | |
537 | | - | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
538 | 572 | | |
539 | | - | |
| 573 | + | |
540 | 574 | | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
541 | 580 | | |
542 | 581 | | |
543 | 582 | | |
544 | 583 | | |
545 | 584 | | |
546 | 585 | | |
547 | | - | |
| 586 | + | |
548 | 587 | | |
549 | 588 | | |
550 | 589 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2189 | 2189 | | |
2190 | 2190 | | |
2191 | 2191 | | |
2192 | | - | |
| 2192 | + | |
2193 | 2193 | | |
2194 | 2194 | | |
2195 | 2195 | | |
| |||
2203 | 2203 | | |
2204 | 2204 | | |
2205 | 2205 | | |
2206 | | - | |
2207 | | - | |
2208 | | - | |
2209 | | - | |
2210 | | - | |
2211 | | - | |
2212 | | - | |
2213 | | - | |
2214 | | - | |
2215 | | - | |
| 2206 | + | |
| 2207 | + | |
| 2208 | + | |
| 2209 | + | |
| 2210 | + | |
| 2211 | + | |
| 2212 | + | |
| 2213 | + | |
| 2214 | + | |
| 2215 | + | |
| 2216 | + | |
| 2217 | + | |
| 2218 | + | |
| 2219 | + | |
| 2220 | + | |
| 2221 | + | |
| 2222 | + | |
| 2223 | + | |
| 2224 | + | |
| 2225 | + | |
| 2226 | + | |
| 2227 | + | |
2216 | 2228 | | |
2217 | 2229 | | |
2218 | 2230 | | |
| |||
2231 | 2243 | | |
2232 | 2244 | | |
2233 | 2245 | | |
| 2246 | + | |
2234 | 2247 | | |
2235 | 2248 | | |
2236 | 2249 | | |
| |||
0 commit comments