René's URL Explorer Experiment


Title: Fix #65069: GlobIterator fails to access files inside an open_basedir restricted dir by bukka · Pull Request #398 · php/php-src · GitHub

Open Graph Title: Fix #65069: GlobIterator fails to access files inside an open_basedir restricted dir by bukka · Pull Request #398 · php/php-src

X Title: Fix #65069: GlobIterator fails to access files inside an open_basedir restricted dir by bukka · Pull Request #398 · php/php-src

Description: Proper checking and filtering of glob stream paths when open_basedir set

Open Graph Description: Proper checking and filtering of glob stream paths when open_basedir set

X Description: Proper checking and filtering of glob stream paths when open_basedir set

Mail addresses
notifications@github.comwrote
notifications@github.com
notifications@github.comwrote
notifications@github.com
notifications@github.com
notifications@github.com

Opengraph URL: https://github.com/php/php-src/pull/398

X: @github

direct link

Domain: github.com

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:adefab25-64e4-e3e7-6e0d-8ee127c04138
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id943C:F9F81:BDE9CA8:F50E49F:697F5596
html-safe-nonce0bb361f8daa93689195e50f1e13033d52ceef6d600207a0346f8c6ac59b86cd0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDNDOkY5RjgxOkJERTlDQTg6RjUwRTQ5Rjo2OTdGNTU5NiIsInZpc2l0b3JfaWQiOiI3NjYzMjE2ODU3NTkxMDEwNzEwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac87a6a3c9fe9aa38905c0ed8c20eb407bc3977203024e8f58e3b60937cebb21e7
hovercard-subject-tagpull_request:7220335
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/php/php-src/398/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/89595b494cf6ba1f9c6c46e1317f12ab50fe5557000f9a98d0dd31437a53ce71/php/php-src/pull/398
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/89595b494cf6ba1f9c6c46e1317f12ab50fe5557000f9a98d0dd31437a53ce71/php/php-src/pull/398
og:image:altProper checking and filtering of glob stream paths when open_basedir set
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebukka
hostnamegithub.com
expected-hostnamegithub.com
None60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6
turbo-cache-controlno-preview
go-importgithub.com/php/php-src git https://github.com/php/php-src.git
octolytics-dimension-user_id25158
octolytics-dimension-user_loginphp
octolytics-dimension-repository_id1903522
octolytics-dimension-repository_nwophp/php-src
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1903522
octolytics-dimension-repository_network_root_nwophp/php-src
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
release7c85641c598ad130c74f7bcc27f58575cac69551
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/php/php-src/pull/398#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphp%2Fphp-src%2Fpull%2F398
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphp%2Fphp-src%2Fpull%2F398
Sign up https://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=php%2Fphp-src
Reloadhttps://github.com/php/php-src/pull/398
Reloadhttps://github.com/php/php-src/pull/398
Reloadhttps://github.com/php/php-src/pull/398
php https://github.com/php
php-srchttps://github.com/php/php-src
Notifications https://github.com/login?return_to=%2Fphp%2Fphp-src
Fork 8k https://github.com/login?return_to=%2Fphp%2Fphp-src
Star 39.8k https://github.com/login?return_to=%2Fphp%2Fphp-src
Code https://github.com/php/php-src
Issues 944 https://github.com/php/php-src/issues
Pull requests 809 https://github.com/php/php-src/pulls
Actions https://github.com/php/php-src/actions
Security 37 https://github.com/php/php-src/security
Insights https://github.com/php/php-src/pulse
Code https://github.com/php/php-src
Issues https://github.com/php/php-src/issues
Pull requests https://github.com/php/php-src/pulls
Actions https://github.com/php/php-src/actions
Security https://github.com/php/php-src/security
Insights https://github.com/php/php-src/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fphp%2Fphp-src%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fphp%2Fphp-src%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/php/php-src/pull/398#issue-comment-box
bukkahttps://github.com/bukka
php:masterhttps://github.com/php/php-src/tree/master
bukka:bug65069https://github.com/bukka/php-src/tree/bug65069
Fix #65069: GlobIterator fails to access files inside an open_basedir restricted dir https://github.com/php/php-src/pull/398#top
bukkahttps://github.com/bukka
php:masterhttps://github.com/php/php-src/tree/master
bukka:bug65069https://github.com/bukka/php-src/tree/bug65069
Conversation 33 https://github.com/php/php-src/pull/398
Commits 7 https://github.com/php/php-src/pull/398/commits
Checks 0 https://github.com/php/php-src/pull/398/checks
Files changed https://github.com/php/php-src/pull/398/files
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.co/hiddenchars
https://github.com/php/php-src/pull/{{ revealButtonHref }}
https://github.com/bukka
bukkahttps://github.com/bukka
Jul 28, 2013https://github.com/php/php-src/pull/398#issue-17315896
Please reload this pagehttps://github.com/php/php-src/pull/398
bukkahttps://github.com/bukka
July 28, 2013 20:16https://github.com/php/php-src/pull/398#commits-pushed-86cbcef
https://github.com/bukka
Fix 65069: Proper checking of glob stream paths when open_basedir sethttps://github.com/php/php-src/pull/398/commits/86cbceff7105a65a4197b4d66fda90060da3ecf5
86cbcefhttps://github.com/php/php-src/pull/398/commits/86cbceff7105a65a4197b4d66fda90060da3ecf5
https://github.com/bukka
Fix memory leak when open_basedir error and improve testhttps://github.com/php/php-src/pull/398/commits/93bfafd5984bcbd6f25b75efb91ad5d0fae91d4a
93bfafdhttps://github.com/php/php-src/pull/398/commits/93bfafd5984bcbd6f25b75efb91ad5d0fae91d4a
https://github.com/weltling
weltlinghttps://github.com/weltling
Jul 29, 2013https://github.com/php/php-src/pull/398#issuecomment-21713028
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/bukka
bukkahttps://github.com/bukka
Jul 29, 2013https://github.com/php/php-src/pull/398#issuecomment-21715846
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/weltling
weltlinghttps://github.com/weltling
Jul 29, 2013https://github.com/php/php-src/pull/398#issuecomment-21742022
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/bukka
Improve glob stream code and fix testhttps://github.com/php/php-src/pull/398/commits/5a7971912007a3da28814e4e5a8392a4e61e3ff8
5a79719https://github.com/php/php-src/pull/398/commits/5a7971912007a3da28814e4e5a8392a4e61e3ff8
https://github.com/bukka
bukkahttps://github.com/bukka
Jul 29, 2013https://github.com/php/php-src/pull/398#issuecomment-21743633
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/bukka
Add more tests for GlobIterator and improve patchhttps://github.com/php/php-src/pull/398/commits/3dc5e37726a8045c355e4011d04409d4bced9eed
3dc5e37https://github.com/php/php-src/pull/398/commits/3dc5e37726a8045c355e4011d04409d4bced9eed
https://github.com/bukka
bukkahttps://github.com/bukka
Jul 30, 2013https://github.com/php/php-src/pull/398#issuecomment-21812020
Please reload this pagehttps://github.com/php/php-src/pull/398
bukkahttps://github.com/bukka
July 31, 2013 19:31https://github.com/php/php-src/pull/398#commits-pushed-09cd62a
https://github.com/bukka
Use type size_t for open_basedir_indexmaphttps://github.com/php/php-src/pull/398/commits/09cd62aafebce829af71f12c3086f9ec716bf7cf
09cd62ahttps://github.com/php/php-src/pull/398/commits/09cd62aafebce829af71f12c3086f9ec716bf7cf
https://github.com/bukka
Use size_t for open_basedir_indexmap allocation as wellhttps://github.com/php/php-src/pull/398/commits/6c582a9526f5c24a5c1843455b139e96c8ba3257
6c582a9https://github.com/php/php-src/pull/398/commits/6c582a9526f5c24a5c1843455b139e96c8ba3257
https://github.com/bukka
Use braces for if statementhttps://github.com/php/php-src/pull/398/commits/63f5bbed3c0f0f7aa439de6e91692ac3fed9ff6c
63f5bbehttps://github.com/php/php-src/pull/398/commits/63f5bbed3c0f0f7aa439de6e91692ac3fed9ff6c
https://github.com/bukka
bukkahttps://github.com/bukka
Aug 14, 2013https://github.com/php/php-src/pull/398#issuecomment-22656600
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/weltling
weltlinghttps://github.com/weltling
Aug 15, 2013https://github.com/php/php-src/pull/398#issuecomment-22695469
http://lxr.php.net/xref/PHP_TRUNK/ext/standard/dir.c#492http://lxr.php.net/xref/PHP_TRUNK/ext/standard/dir.c#492
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/bukka
bukkahttps://github.com/bukka
Aug 17, 2013https://github.com/php/php-src/pull/398#issuecomment-22815886
http://lxr.php.net/xref/PHP_TRUNK/ext/standard/dir.c#495http://lxr.php.net/xref/PHP_TRUNK/ext/standard/dir.c#495
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/weltling
weltlinghttps://github.com/weltling
Aug 18, 2013https://github.com/php/php-src/pull/398#issuecomment-22834121
#1https://github.com/php/php-src/pull/1
#1https://github.com/php/php-src/pull/1
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/pierrejoye
pierrejoyehttps://github.com/pierrejoye
Aug 19, 2013https://github.com/php/php-src/pull/398#issuecomment-22857454
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/weltling
weltlinghttps://github.com/weltling
Aug 19, 2013https://github.com/php/php-src/pull/398#issuecomment-22860633
@bukkahttps://github.com/bukka
https://bugs.php.net/bug.php?id=47358https://bugs.php.net/bug.php?id=47358
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/bukka
bukkahttps://github.com/bukka
Aug 19, 2013https://github.com/php/php-src/pull/398#issuecomment-22865573
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/pierrejoye
pierrejoyehttps://github.com/pierrejoye
Aug 19, 2013https://github.com/php/php-src/pull/398#issuecomment-22865830
/pull/398https://github.com/php/php-src/pull/398
@pierrejoyehttps://github.com/pierrejoye
http://www.libgd.orghttp://www.libgd.org
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/bukka
bukkahttps://github.com/bukka
Aug 19, 2013https://github.com/php/php-src/pull/398#issuecomment-22866705
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/weltling
weltlinghttps://github.com/weltling
Aug 19, 2013https://github.com/php/php-src/pull/398#issuecomment-22868678
@bukkahttps://github.com/bukka
http://git.php.net/?p=php-src.git;a=commitdiff;h=f4df40108be641a4167f6f6c1c3989958dda438ahttp://git.php.net/?p=php-src.git;a=commitdiff;h=f4df40108be641a4167f6f6c1c3989958dda438a
http://git.php.net/?p=php-src.git;a=blob_plain;f=ext/standard/tests/file/glob_variation3.phpt;hb=refs/heads/masterhttp://git.php.net/?p=php-src.git;a=blob_plain;f=ext/standard/tests/file/glob_variation3.phpt;hb=refs/heads/master
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/bukka
bukkahttps://github.com/bukka
Aug 19, 2013https://github.com/php/php-src/pull/398#issuecomment-22896898
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/pierrejoye
pierrejoyehttps://github.com/pierrejoye
Aug 19, 2013https://github.com/php/php-src/pull/398#issuecomment-22897158
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/weltling
weltlinghttps://github.com/weltling
Aug 20, 2013https://github.com/php/php-src/pull/398#issuecomment-22928717
@bukkahttps://github.com/bukka
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/bukka
bukkahttps://github.com/bukka
Aug 20, 2013https://github.com/php/php-src/pull/398#issuecomment-22931461
http://lxr.php.net/xref/PHP_TRUNK/ext/standard/dir.c#537http://lxr.php.net/xref/PHP_TRUNK/ext/standard/dir.c#537
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/pierrejoye
pierrejoyehttps://github.com/pierrejoye
Aug 20, 2013https://github.com/php/php-src/pull/398#issuecomment-22931673
http://lxr.php.net/xref/PHP_TRUNK/ext/standard/dir.c#537http://lxr.php.net/xref/PHP_TRUNK/ext/standard/dir.c#537
/pull/398https://github.com/php/php-src/pull/398
@pierrejoyehttps://github.com/pierrejoye
http://blog.thepimp.nethttp://blog.thepimp.net
http://www.libgd.orghttp://www.libgd.org
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/bukka
bukkahttps://github.com/bukka
Aug 20, 2013https://github.com/php/php-src/pull/398#issuecomment-22933048
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/pierrejoye
pierrejoyehttps://github.com/pierrejoye
Aug 20, 2013https://github.com/php/php-src/pull/398#issuecomment-22933364
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/bukka
bukkahttps://github.com/bukka
Aug 20, 2013https://github.com/php/php-src/pull/398#issuecomment-22934544
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/bukka
bukkahttps://github.com/bukka
Aug 20, 2013https://github.com/php/php-src/pull/398#issuecomment-22934983
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/pierrejoye
pierrejoyehttps://github.com/pierrejoye
Aug 20, 2013https://github.com/php/php-src/pull/398#issuecomment-22935296
/pull/398https://github.com/php/php-src/pull/398
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/bukka
bukkahttps://github.com/bukka
Aug 20, 2013https://github.com/php/php-src/pull/398#issuecomment-22935878
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/weltling
weltlinghttps://github.com/weltling
Aug 20, 2013https://github.com/php/php-src/pull/398#issuecomment-22937648
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/pierrejoye
pierrejoyehttps://github.com/pierrejoye
Aug 20, 2013https://github.com/php/php-src/pull/398#issuecomment-22937914
/pull/398https://github.com/php/php-src/pull/398
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/weltling
weltlinghttps://github.com/weltling
Aug 20, 2013https://github.com/php/php-src/pull/398#issuecomment-22938729
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/bukka
bukkahttps://github.com/bukka
Aug 20, 2013https://github.com/php/php-src/pull/398#issuecomment-22940955
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/bukka
bukkahttps://github.com/bukka
Aug 20, 2013https://github.com/php/php-src/pull/398#issuecomment-22942567
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/weltling
weltlinghttps://github.com/weltling
Aug 21, 2013https://github.com/php/php-src/pull/398#issuecomment-22998215
https://bugs.php.net/bug.php?id=65489https://bugs.php.net/bug.php?id=65489
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/php-pulls
php-pullshttps://github.com/php-pulls
Jan 1, 2017https://github.com/php/php-src/pull/398#issuecomment-269895114
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/php-pulls
php-pullshttps://github.com/php-pulls
Jan 1, 2017https://github.com/php/php-src/pull/398#event-908629940
https://github.com/bukka
bukkahttps://github.com/bukka
Jul 24, 2022 https://github.com/php/php-src/pull/398#ref-pullrequest-1315919960
Fix #65069: GlobIterator incorrect handling of open_basedir check #9120 https://github.com/php/php-src/pull/9120
https://github.com/dunglas
dunglashttps://github.com/dunglas
Sep 17, 2023 https://github.com/php/php-src/pull/398#ref-issue-1899877964
Segmentation fault when building Symfony cache on Alpine #12234 https://github.com/php/php-src/issues/12234
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fphp%2Fphp-src%2Fpull%2F398
Please reload this pagehttps://github.com/php/php-src/pull/398
https://github.com/bukka
https://github.com/weltling
https://github.com/pierrejoye
https://github.com/php-pulls
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.