Skip to content

[pull] master from apify:master - #318

Merged
pull[bot] merged 5 commits into
threatcode:masterfrom
apify:master
Sep 24, 2026
Merged

pull[bot] merged 5 commits into
threatcode:masterfrom
apify:master

Conversation

@pull

@pull pull Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

barjin and others added 5 commits September 24, 2026 13:18
…igin redirects (#4154)

Sets the jar cookies on a per-hop copy of the request, like `fetch`
does, so a redirect recomputes them for its own URL.

Closes #4151
…4132)

`discoverValidSitemaps` builds the well-known sitemap candidates by
reassigning
`pathname` on a `URL` parsed from the domain's first input URL. `search`
and `hash`
survive that reassignment, so a seed like
`https://example.com/products?page=2#top`
is probed as:

```
https://example.com/sitemap.xml?page=2
https://example.com/sitemap.txt?page=2
https://example.com/sitemap_index.xml?page=2
```

A server that keys on the full path-and-query answers those with a 404,
and discovery
silently finds nothing for a domain that does have a sitemap. A server
that ignores
the query answers 200, and the query-carrying URL is then what gets
yielded and
loaded as the sitemap.

Clearing `search` and `hash` before setting the pathname fixes both.
Userinfo and
port are left alone, so sites behind basic auth or on a non-default port
keep
working as before.
…4152)

The `proxyUrl` from `crawlingContext.proxyInfo` got lost in #3295 and
never reached `sendRequest`, so a proxy swapped in a pre-navigation hook
was silently ignored (related to #4140).
Co-authored-by: Jan Buchar <jan@buchar.dev>
@pull pull Bot locked and limited conversation to collaborators Sep 24, 2026
@pull pull Bot added the ⤵️ pull label Sep 24, 2026
@pull
pull Bot merged commit 1b31982 into threatcode:master Sep 24, 2026

This branch had an error being deployed

1 failed deployment
github-pages — 1b319825 Deployed Sep 24, 2026 by pull[bot] via build #301
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants