René's URL Explorer Experiment


Title: fix: percent-encode caller-supplied URL path segments by vdusek · Pull Request #1025 · apify/apify-client-python · GitHub

Open Graph Title: fix: percent-encode caller-supplied URL path segments by vdusek · Pull Request #1025 · apify/apify-client-python

X Title: fix: percent-encode caller-supplied URL path segments by vdusek · Pull Request #1025 · apify/apify-client-python

Description: Apify API client for Python—Programmatically run Actors, manage and stream data from storages (datasets, key-value stores, request queues), schedule and monitor runs, and access the full Apify platform API. Sync and async interfaces with automatic retries and pagination. - fix: percent-encode caller-supplied URL path segments by vdusek · Pull Request #1025 · apify/apify-client-python

Open Graph Description: Caller-supplied values were interpolated into the request path with a plain f-string, so they could restructure the URL. Reproduced against a mock server, reading the raw request line: key='../...

X Description: Caller-supplied values were interpolated into the request path with a plain f-string, so they could restructure the URL. Reproduced against a mock server, reading the raw request line: key=&#39...

Opengraph URL: https://github.com/apify/apify-client-python/pull/1025

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:758daab5-af26-e24f-2218-a832d4b2697a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA29C:3B60C0:CCA432:1112EFC:6B005004
html-safe-nonceab992a6a7abd9a99cf9a1fb28a94583dc5eac7ce3bda9b821b2a4b34bc42867c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjlDOjNCNjBDMDpDQ0E0MzI6MTExMkVGQzo2QjAwNTAwNCIsInZpc2l0b3JfaWQiOiIyNjk0ODg4OTI2ODY2MzI5NjA0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac64f2f30d368137ed3810c985a1a9d5e8b7058bd60f1dc75790536138b7abc4d7
hovercard-subject-tagpull_request:4331422308
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/apify/apify-client-python/1025/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e478c2bb306f5a28a85fb4fdd792cd2b12c90277db2a4a3be4be28c78889bf4d/apify/apify-client-python/pull/1025
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e478c2bb306f5a28a85fb4fdd792cd2b12c90277db2a4a3be4be28c78889bf4d/apify/apify-client-python/pull/1025
og:image:altCaller-supplied values were interpolated into the request path with a plain f-string, so they could restructure the URL. Reproduced against a mock server, reading the raw request line: key='../...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevdusek
hostnamegithub.com
expected-hostnamegithub.com
Nonef420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb
turbo-cache-controlno-cache
go-importgithub.com/apify/apify-client-python git https://github.com/apify/apify-client-python.git
octolytics-dimension-user_id24586296
octolytics-dimension-user_loginapify
octolytics-dimension-repository_id164647835
octolytics-dimension-repository_nwoapify/apify-client-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id164647835
octolytics-dimension-repository_network_root_nwoapify/apify-client-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release26e00df917aba0f128135dc073ea0c5e33a70d40
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/apify/apify-client-python/pull/1025#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapify%2Fapify-client-python%2Fpull%2F1025
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapify%2Fapify-client-python%2Fpull%2F1025
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=apify%2Fapify-client-python
Reloadhttps://github.com/apify/apify-client-python/pull/1025
Reloadhttps://github.com/apify/apify-client-python/pull/1025
Reloadhttps://github.com/apify/apify-client-python/pull/1025
apifyhttps://github.com/apify
apify-client-pythonhttps://github.com/apify/apify-client-python
Codehttps://github.com/apify/apify-client-python
Issues12 (12)https://github.com/apify/apify-client-python/issues
Pull requests2 (2)https://github.com/apify/apify-client-python/pulls
Discussionshttps://github.com/apify/apify-client-python/discussions
Actionshttps://github.com/apify/apify-client-python/actions
Security and qualityhttps://github.com/apify/apify-client-python/security
Insightshttps://github.com/apify/apify-client-python/insights
https://github.com/apify/apify-client-python
vdusekhttps://github.com/vdusek
masterhttps://github.com/apify/apify-client-python/tree/master
fix/unencoded-url-path-segmentshttps://github.com/apify/apify-client-python/tree/fix/unencoded-url-path-segments
Conversationhttps://github.com/apify/apify-client-python/pull/1025
Commits4 (4)https://github.com/apify/apify-client-python/pull/1025/commits
Checkshttps://github.com/apify/apify-client-python/pull/1025/checks
Files changedhttps://github.com/apify/apify-client-python/pull/1025/files
fix: percent-encode caller-supplied URL path segmentshttps://github.com/apify/apify-client-python/pull/1025#top
vdusekhttps://github.com/vdusek
masterhttps://github.com/apify/apify-client-python/tree/master
fix/unencoded-url-path-segmentshttps://github.com/apify/apify-client-python/tree/fix/unencoded-url-path-segments
https://github.com/vdusek
vdusekhttps://github.com/vdusek
Aug 21, 2026https://github.com/apify/apify-client-python/pull/1025#issue-5213633685
Please reload this pagehttps://github.com/apify/apify-client-python/pull/1025
Please reload this pagehttps://github.com/apify/apify-client-python/pull/1025
https://github.com/vdusek
fix(url): percent-encode caller-supplied URL path segmentshttps://github.com/apify/apify-client-python/pull/1025/commits/b8b54854260143e5562724222277d7eccb574c72
b8b5485https://github.com/apify/apify-client-python/pull/1025/commits/b8b54854260143e5562724222277d7eccb574c72
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
vdusekhttps://github.com/vdusek
Aug 21, 2026https://github.com/apify/apify-client-python/pull/1025#event-29801795748
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
147th sprint - Tooling teamhttps://github.com/apify/apify-client-python/milestone/741
Aug 21, 2026https://github.com/apify/apify-client-python/pull/1025#event-29801796424
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
t-tooling https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3At-tooling
tested https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3Atested
Aug 21, 2026https://github.com/apify/apify-client-python/pull/1025#event-29801797104
https://github.com/vdusek
vdusekhttps://github.com/vdusek
adhoc https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3Aadhoc
Aug 21, 2026https://github.com/apify/apify-client-python/pull/1025#event-29801851270
https://github.com/vdusek
vdusekhttps://github.com/vdusek
August 21, 2026 11:36https://github.com/apify/apify-client-python/pull/1025#event-29801852077
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Aug 21, 2026https://github.com/apify/apify-client-python/pull/1025#issuecomment-5369335849
Please reload this pagehttps://github.com/apify/apify-client-python/pull/1025
Codecovhttps://app.codecov.io/gh/apify/apify-client-python/pull/1025?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
df80da1https://app.codecov.io/gh/apify/apify-client-python/commit/df80da13ab6d85e791538e1eccf17d0199b006a4?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
6acd295https://app.codecov.io/gh/apify/apify-client-python/commit/6acd295129b2f9b7525bee6f05f9d30146d5a897?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
Flaghttps://app.codecov.io/gh/apify/apify-client-python/pull/1025/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
integrationhttps://app.codecov.io/gh/apify/apify-client-python/pull/1025/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
unithttps://app.codecov.io/gh/apify/apify-client-python/pull/1025/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
Click herehttps://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify#carryforward-flags-in-the-pull-request-comment
☔ View full report in Codecov by Harnesshttps://app.codecov.io/gh/apify/apify-client-python/pull/1025?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
Share it herehttps://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apify
Test Analyticshttps://docs.codecov.com/docs/test-analytics
JS Bundle Analysishttps://docs.codecov.com/docs/javascript-bundle-analysis
Please reload this pagehttps://github.com/apify/apify-client-python/pull/1025
vdusekhttps://github.com/vdusek
August 21, 2026 14:42https://github.com/apify/apify-client-python/pull/1025#commits-pushed-4947dd0
https://github.com/vdusek
fix: reject an invalid record key before requesting store metadatahttps://github.com/apify/apify-client-python/pull/1025/commits/4947dd01f324e66a45300b2ca7bc08074716ba6e
4947dd0https://github.com/apify/apify-client-python/pull/1025/commits/4947dd01f324e66a45300b2ca7bc08074716ba6e
https://github.com/vdusek
docs: document the ValueError raised for unusable URL path segmentshttps://github.com/apify/apify-client-python/pull/1025/commits/0fca3c2e746fb3b2b4d1586e454898c998cda64b
0fca3c2https://github.com/apify/apify-client-python/pull/1025/commits/0fca3c2e746fb3b2b4d1586e454898c998cda64b
https://github.com/vdusek
test: cover URL path-segment encoding for records, requests and resou…https://github.com/apify/apify-client-python/pull/1025/commits/6acd295129b2f9b7525bee6f05f9d30146d5a897
6acd295https://github.com/apify/apify-client-python/pull/1025/commits/6acd295129b2f9b7525bee6f05f9d30146d5a897
https://github.com/vdusek
vdusekhttps://github.com/vdusek
Aug 21, 2026https://github.com/apify/apify-client-python/pull/1025#event-29805024800
https://github.com/vdusek
vdusekhttps://github.com/vdusek
Pijukatelhttps://github.com/Pijukatel
August 21, 2026 12:46https://github.com/apify/apify-client-python/pull/1025#event-29805057957
https://github.com/vdusek
vdusekhttps://github.com/vdusek
August 21, 2026 12:46https://github.com/apify/apify-client-python/pull/1025#event-29805060343
https://github.com/vdusek
vdusekhttps://github.com/vdusek
Aug 21, 2026 https://github.com/apify/apify-client-python/pull/1025#ref-issue-5214225775
URL-encode record keys and request IDs to prevent path traversal apify/apify-client-js#1005 https://github.com/apify/apify-client-js/issues/1005
https://github.com/Pijukatel
Pijukatelhttps://github.com/Pijukatel
Aug 25, 2026 https://github.com/apify/apify-client-python/pull/1025#pullrequestreview-5015446090
View reviewed changes https://github.com/apify/apify-client-python/pull/1025/files/6acd295129b2f9b7525bee6f05f9d30146d5a897
https://github.com/vdusek
vdusekhttps://github.com/vdusek
3e333a0https://github.com/apify/apify-client-python/commit/3e333a0ec27be660fb025c8daab92d6a3a1648d5
Aug 25, 2026https://github.com/apify/apify-client-python/pull/1025#event-29960884480
Please reload this pagehttps://github.com/apify/apify-client-python/pull/1025
https://github.com/vdusek
vdusekhttps://github.com/vdusek
August 25, 2026 07:27https://github.com/apify/apify-client-python/pull/1025#event-29960886727
https://github.com/vdusek
vdusekhttps://github.com/vdusek
Aug 25, 2026 https://github.com/apify/apify-client-python/pull/1025#ref-pullrequest-5243325055
test: Add the required unique_key when building a Request without an ID #1032 https://github.com/apify/apify-client-python/pull/1032
vdusekhttps://github.com/vdusek
Aug 25, 2026 https://github.com/apify/apify-client-python/pull/1025#ref-commit-f1d5a06
https://github.com/vdusek
test: Add the required unique_key when building a Request without an …https://github.com/apify/apify-client-python/commit/f1d5a06eadd092e235b91173e2c7915925719a0e
f1d5a06https://github.com/apify/apify-client-python/commit/f1d5a06eadd092e235b91173e2c7915925719a0e
#1032https://github.com/apify/apify-client-python/pull/1032
https://github.com/apify/apify-client-python/actions/runs/32821686073https://github.com/apify/apify-client-python/actions/runs/32821686073
#1030https://github.com/apify/apify-client-python/pull/1030
#1025https://github.com/apify/apify-client-python/pull/1025
https://example.com')`https://example.com')`
https://github.com/barjin
barjinhttps://github.com/barjin
Aug 26, 2026 https://github.com/apify/apify-client-python/pull/1025#ref-pullrequest-5254443506
fix: prevent path traversal by sanitizing URLs apify/apify-client-js#1011 https://github.com/apify/apify-client-js/pull/1011
barjinhttps://github.com/barjin
Aug 27, 2026 https://github.com/apify/apify-client-python/pull/1025#ref-commit-7a73908
https://github.com/barjin
fix: prevent path traversal by sanitizing URLs (https://github.com/apify/apify-client-js/commit/7a73908a74e86144881539693ebc707d2678a2a1
#1011https://github.com/apify/apify-client-js/pull/1011
)https://github.com/apify/apify-client-js/commit/7a73908a74e86144881539693ebc707d2678a2a1
7a73908https://github.com/apify/apify-client-js/commit/7a73908a74e86144881539693ebc707d2678a2a1
apify/apify-client-python#1025https://github.com/apify/apify-client-python/pull/1025
#1005https://github.com/apify/apify-client-js/issues/1005
vdusekhttps://github.com/vdusek
Sep 8, 2026 https://github.com/apify/apify-client-python/pull/1025#ref-commit-65a8e66
https://github.com/barjin
https://github.com/vdusek
fix: prevent path traversal by sanitizing URLs (https://github.com/apify/apify-client-js/commit/65a8e66192726edf171abad777b55573de6e5a90
#1011https://github.com/apify/apify-client-js/pull/1011
)https://github.com/apify/apify-client-js/commit/65a8e66192726edf171abad777b55573de6e5a90
65a8e66https://github.com/apify/apify-client-js/commit/65a8e66192726edf171abad777b55573de6e5a90
apify/apify-client-python#1025https://github.com/apify/apify-client-python/pull/1025
#1005https://github.com/apify/apify-client-js/issues/1005
B4nanhttps://github.com/B4nan
Sep 30, 2026 https://github.com/apify/apify-client-python/pull/1025#ref-commit-1967561
https://github.com/barjin
https://github.com/B4nan
fix: prevent path traversal by sanitizing URLs (https://github.com/apify/apify-client-js/commit/196756133f40a6054a483ff3abb7cc0c58c9f7ee
#1011https://github.com/apify/apify-client-js/pull/1011
)https://github.com/apify/apify-client-js/commit/196756133f40a6054a483ff3abb7cc0c58c9f7ee
1967561https://github.com/apify/apify-client-js/commit/196756133f40a6054a483ff3abb7cc0c58c9f7ee
apify/apify-client-python#1025https://github.com/apify/apify-client-python/pull/1025
#1005https://github.com/apify/apify-client-js/issues/1005
janbucharhttps://github.com/janbuchar
Nov 10, 2026 https://github.com/apify/apify-client-python/pull/1025#ref-commit-eb4be07
https://github.com/barjin
https://github.com/janbuchar
fix: prevent path traversal by sanitizing URLs (backport ofhttps://github.com/apify/apify-client-js/commit/eb4be076d96583518fa53ec793c71afdd578a4e3
#1011https://github.com/apify/apify-client-js/pull/1011
)https://github.com/apify/apify-client-js/commit/eb4be076d96583518fa53ec793c71afdd578a4e3
eb4be07https://github.com/apify/apify-client-js/commit/eb4be076d96583518fa53ec793c71afdd578a4e3
apify/apify-client-python#1025https://github.com/apify/apify-client-python/pull/1025
#1005https://github.com/apify/apify-client-js/issues/1005
https://github.co/hiddenchars
https://github.com/apify/apify-client-python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapify%2Fapify-client-python%2Fpull%2F1025
https://github.com/Pijukatel
Pijukatel https://github.com/Pijukatel
https://github.com/apify/apify-client-python/pull/1025/files/6acd295129b2f9b7525bee6f05f9d30146d5a897
Please reload this pagehttps://github.com/apify/apify-client-python/pull/1025
https://github.com/vdusek
vdusek https://github.com/vdusek
adhoc https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3Aadhoc
t-tooling https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3At-tooling
tested https://github.com/apify/apify-client-python/issues?q=state%3Aopen%20label%3Atested
147th sprint - Tooling team https://github.com/apify/apify-client-python/milestone/741
Please reload this pagehttps://github.com/apify/apify-client-python/pull/1025
https://github.com/vdusek
https://github.com/Pijukatel
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.