René's URL Explorer Experiment


Title: LOC-6727: validate source URL host before binary download by rounak610 · Pull Request #41 · browserstack/browserstack-local-ruby · GitHub

Open Graph Title: LOC-6727: validate source URL host before binary download by rounak610 · Pull Request #41 · browserstack/browserstack-local-ruby

X Title: LOC-6727: validate source URL host before binary download by rounak610 · Pull Request #41 · browserstack/browserstack-local-ruby

Description: Summary Mirror the host allowlist added in browserstack-local-java#99 and browserstack-local-python#62. The endpoint returned by the binary endpoint API is now validated before being returned to the caller: must be HTTPS host must be browserstack.com or a *.browserstack.com subdomain Test plan Unit test: existing tests still pass Manual: normal binary download still works (endpoint resolves under *.browserstack.com) Manual: confirm a synthetic non-allowlisted endpoint raises BrowserStack::LocalException with Refusing binary download: host '...' is not in the allowed host list 🤖 Generated with Claude Code

Open Graph Description: Summary Mirror the host allowlist added in browserstack-local-java#99 and browserstack-local-python#62. The endpoint returned by the binary endpoint API is now validated before being returned to th...

X Description: Summary Mirror the host allowlist added in browserstack-local-java#99 and browserstack-local-python#62. The endpoint returned by the binary endpoint API is now validated before being returned to th...

Opengraph URL: https://github.com/browserstack/browserstack-local-ruby/pull/41

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:4fab354d-366d-b08f-3927-ca5300bd04cd
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id829E:2B774B:D9D954:13165E8:6B043DE8
html-safe-noncef658c8ce1c7ceea8f1599a5ed6a8985279a57b93b0582efd0505547c7f31abd0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjlFOjJCNzc0QjpEOUQ5NTQ6MTMxNjVFODo2QjA0M0RFOCIsInZpc2l0b3JfaWQiOiI4MzUzNjUxMzY1MDMxNjAyOTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacdbe01b437ba1a34231e708c236bc97dfabb589a29537a478a0cabf62e4b06614
hovercard-subject-tagpull_request:3832523436
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/browserstack/browserstack-local-ruby/pull/41/files
twitter:imagehttps://avatars.githubusercontent.com/u/81288115?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/81288115?s=400&v=4
og:image:altSummary Mirror the host allowlist added in browserstack-local-java#99 and browserstack-local-python#62. The endpoint returned by the binary endpoint API is now validated before being returned to th...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/browserstack/browserstack-local-ruby git https://github.com/browserstack/browserstack-local-ruby.git
octolytics-dimension-user_id1119453
octolytics-dimension-user_loginbrowserstack
octolytics-dimension-repository_id51922935
octolytics-dimension-repository_nwobrowserstack/browserstack-local-ruby
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id51922935
octolytics-dimension-repository_network_root_nwobrowserstack/browserstack-local-ruby
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release06dc448a76fe4751ac1db26524aefa3aa3e889a8
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/browserstack/browserstack-local-ruby/pull/41/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbrowserstack%2Fbrowserstack-local-ruby%2Fpull%2F41%2Ffiles
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%2Fbrowserstack%2Fbrowserstack-local-ruby%2Fpull%2F41%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=browserstack%2Fbrowserstack-local-ruby
Reloadhttps://github.com/browserstack/browserstack-local-ruby/pull/41/files
Reloadhttps://github.com/browserstack/browserstack-local-ruby/pull/41/files
Reloadhttps://github.com/browserstack/browserstack-local-ruby/pull/41/files
browserstackhttps://github.com/browserstack
browserstack-local-rubyhttps://github.com/browserstack/browserstack-local-ruby
Codehttps://github.com/browserstack/browserstack-local-ruby
Issues1 (1)https://github.com/browserstack/browserstack-local-ruby/issues
Pull requests6 (6)https://github.com/browserstack/browserstack-local-ruby/pulls
Actionshttps://github.com/browserstack/browserstack-local-ruby/actions
Projectshttps://github.com/browserstack/browserstack-local-ruby/projects
Security and qualityhttps://github.com/browserstack/browserstack-local-ruby/security
Insightshttps://github.com/browserstack/browserstack-local-ruby/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fbrowserstack%2Fbrowserstack-local-ruby%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fbrowserstack%2Fbrowserstack-local-ruby%2Fissues%2Fnew%2Fchoose
rounak610https://github.com/rounak610
masterhttps://github.com/browserstack/browserstack-local-ruby/tree/master
LOC-6727-host-allowlisthttps://github.com/browserstack/browserstack-local-ruby/tree/LOC-6727-host-allowlist
Conversation 0 https://github.com/browserstack/browserstack-local-ruby/pull/41
Commits 2 https://github.com/browserstack/browserstack-local-ruby/pull/41/commits
Checks 5 https://github.com/browserstack/browserstack-local-ruby/pull/41/checks
Files changed https://github.com/browserstack/browserstack-local-ruby/pull/41/files
Please reload this pagehttps://github.com/browserstack/browserstack-local-ruby/pull/41/files
LOC-6727: validate source URL host before binary download https://github.com/browserstack/browserstack-local-ruby/pull/41/files#top
Show all changes 2 commits https://github.com/browserstack/browserstack-local-ruby/pull/41/files
c0e8306 LOC-6727: validate source URL host before binary download rounak610 Jun 9, 2026 https://github.com/browserstack/browserstack-local-ruby/pull/41/commits/c0e8306c14b9d2c22ca05e187c3dc473d66f533c
4357ee9 Add comment explaining each guard in validate_source_url rounak610 Jun 10, 2026 https://github.com/browserstack/browserstack-local-ruby/pull/41/commits/4357ee9e4b2d1b5663aba9337ac61e70152aa2a3
Clear filters https://github.com/browserstack/browserstack-local-ruby/pull/41/files
Please reload this pagehttps://github.com/browserstack/browserstack-local-ruby/pull/41/files
Please reload this pagehttps://github.com/browserstack/browserstack-local-ruby/pull/41/files
https://github.com/browserstack/browserstack-local-ruby/blob/master/CODEOWNERS#L1
lib/browserstack/fetch_download_source_url.rbhttps://github.com/browserstack/browserstack-local-ruby/pull/41/files#diff-ab5c95d9a7aca7332c721ecae3907655c0225d8a60fca050e9c83644507717eb
View file https://github.com/browserstack/browserstack-local-ruby/blob/4357ee9e4b2d1b5663aba9337ac61e70152aa2a3/lib/browserstack/fetch_download_source_url.rb
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/browserstack/browserstack-local-ruby/pull/41/{{ revealButtonHref }}
https://github.com/browserstack/browserstack-local-ruby/pull/41/files#diff-ab5c95d9a7aca7332c721ecae3907655c0225d8a60fca050e9c83644507717eb
https://github.com/browserstack/browserstack-local-ruby/pull/41/files#diff-ab5c95d9a7aca7332c721ecae3907655c0225d8a60fca050e9c83644507717eb
https://github.com/browserstack/browserstack-local-ruby/pull/41/files#diff-ab5c95d9a7aca7332c721ecae3907655c0225d8a60fca050e9c83644507717eb
Please reload this pagehttps://github.com/browserstack/browserstack-local-ruby/pull/41/files
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.