René's URL Explorer Experiment


Title: fixed #342/fixed #343 - do not treat directories like regular files in existence checks by firewave · Pull Request #339 · cppcheck-opensource/simplecpp · GitHub

Open Graph Title: fixed #342/fixed #343 - do not treat directories like regular files in existence checks by firewave · Pull Request #339 · cppcheck-opensource/simplecpp

X Title: fixed #342/fixed #343 - do not treat directories like regular files in existence checks by firewave · Pull Request #339 · cppcheck-opensource/simplecpp

Description: std::ifstream can open directories and read from them without issue. Nothing will be read though - it is like an empty file. This would have treated an include which actually pointed to a directory as existing (e.g. #include ).

Open Graph Description: std::ifstream can open directories and read from them without issue. Nothing will be read though - it is like an empty file. This would have treated an include which actually pointed to a directory...

X Description: std::ifstream can open directories and read from them without issue. Nothing will be read though - it is like an empty file. This would have treated an include which actually pointed to a directory...

Opengraph URL: https://github.com/cppcheck-opensource/simplecpp/pull/339

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:1b925191-4034-b8d2-2485-2e9e36bc616c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id80BE:1D90CC:2EF83FD:41C7098:6A4F6D23
html-safe-nonce4a6b02f1e0c3f14db805c20c48de21833e8b2d1dbac54c39a5fe70e624243af9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MEJFOjFEOTBDQzoyRUY4M0ZEOjQxQzcwOTg6NkE0RjZEMjMiLCJ2aXNpdG9yX2lkIjoiNDUwMzA5NjEyMTU0ODA0MTUwNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5b556c6ed9700af0cf4ce757f5914f91fec678fa16b02a4447bac91cdada6f62
hovercard-subject-tagpull_request:1728361420
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/cppcheck-opensource/simplecpp/pull/339/files
twitter:imagehttps://avatars.githubusercontent.com/u/242857?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/242857?s=400&v=4
og:image:altstd::ifstream can open directories and read from them without issue. Nothing will be read though - it is like an empty file. This would have treated an include which actually pointed to a directory...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/cppcheck-opensource/simplecpp git https://github.com/cppcheck-opensource/simplecpp.git
octolytics-dimension-user_id278097703
octolytics-dimension-user_logincppcheck-opensource
octolytics-dimension-repository_id33434464
octolytics-dimension-repository_nwocppcheck-opensource/simplecpp
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id33434464
octolytics-dimension-repository_network_root_nwocppcheck-opensource/simplecpp
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4b249b445842943ed31549e027f57a8ade9881ed
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cppcheck-opensource/simplecpp/pull/339/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcppcheck-opensource%2Fsimplecpp%2Fpull%2F339%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2Fcppcheck-opensource%2Fsimplecpp%2Fpull%2F339%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=cppcheck-opensource%2Fsimplecpp
Reloadhttps://github.com/cppcheck-opensource/simplecpp/pull/339/files
Reloadhttps://github.com/cppcheck-opensource/simplecpp/pull/339/files
Reloadhttps://github.com/cppcheck-opensource/simplecpp/pull/339/files
Please reload this pagehttps://github.com/cppcheck-opensource/simplecpp/pull/339/files
cppcheck-opensource https://github.com/cppcheck-opensource
simplecpphttps://github.com/cppcheck-opensource/simplecpp
Notifications https://github.com/login?return_to=%2Fcppcheck-opensource%2Fsimplecpp
Fork 104 https://github.com/login?return_to=%2Fcppcheck-opensource%2Fsimplecpp
Star 263 https://github.com/login?return_to=%2Fcppcheck-opensource%2Fsimplecpp
Code https://github.com/cppcheck-opensource/simplecpp
Issues 82 https://github.com/cppcheck-opensource/simplecpp/issues
Pull requests 31 https://github.com/cppcheck-opensource/simplecpp/pulls
Actions https://github.com/cppcheck-opensource/simplecpp/actions
Wiki https://github.com/cppcheck-opensource/simplecpp/wiki
Security and quality 0 https://github.com/cppcheck-opensource/simplecpp/security
Insights https://github.com/cppcheck-opensource/simplecpp/pulse
Code https://github.com/cppcheck-opensource/simplecpp
Issues https://github.com/cppcheck-opensource/simplecpp/issues
Pull requests https://github.com/cppcheck-opensource/simplecpp/pulls
Actions https://github.com/cppcheck-opensource/simplecpp/actions
Wiki https://github.com/cppcheck-opensource/simplecpp/wiki
Security and quality https://github.com/cppcheck-opensource/simplecpp/security
Insights https://github.com/cppcheck-opensource/simplecpp/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fcppcheck-opensource%2Fsimplecpp%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fcppcheck-opensource%2Fsimplecpp%2Fissues%2Fnew%2Fchoose
firewavehttps://github.com/firewave
cppcheck-opensource:masterhttps://github.com/cppcheck-opensource/simplecpp/tree/master
firewave:inchttps://github.com/firewave/simplecpp/tree/inc
Conversation 3 https://github.com/cppcheck-opensource/simplecpp/pull/339
Commits 3 https://github.com/cppcheck-opensource/simplecpp/pull/339/commits
Checks 12 https://github.com/cppcheck-opensource/simplecpp/pull/339/checks
Files changed https://github.com/cppcheck-opensource/simplecpp/pull/339/files
Please reload this pagehttps://github.com/cppcheck-opensource/simplecpp/pull/339/files
fixed #342/fixed #343 - do not treat directories like regular files in existence checks https://github.com/cppcheck-opensource/simplecpp/pull/339/files#top
Show all changes 3 commits https://github.com/cppcheck-opensource/simplecpp/pull/339/files
95d8b17 added the file/directory existence functions from Cppcheck firewave Feb 15, 2024 https://github.com/cppcheck-opensource/simplecpp/pull/339/commits/95d8b174065de9aab0f66044f66ffce5a5984de4
85704d6 do not treat directories like regular files in existence checks firewave Feb 15, 2024 https://github.com/cppcheck-opensource/simplecpp/pull/339/commits/85704d6bb22814e34264ee188b8a554a5e205d5c
8a9eb08 test.cpp: added test to make sure the leak with empty headers no long… firewave Feb 17, 2024 https://github.com/cppcheck-opensource/simplecpp/pull/339/commits/8a9eb0855ae61e71f722d88c507c97bc0e37e852
Clear filters https://github.com/cppcheck-opensource/simplecpp/pull/339/files
Please reload this pagehttps://github.com/cppcheck-opensource/simplecpp/pull/339/files
Please reload this pagehttps://github.com/cppcheck-opensource/simplecpp/pull/339/files
main.cpp https://github.com/cppcheck-opensource/simplecpp/pull/339/files#diff-608d8de3fba954c50110b6d7386988f27295de845e9d7174e40095ba5efcf1bb
simplecpp.cpp https://github.com/cppcheck-opensource/simplecpp/pull/339/files#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832
simplecpp.h https://github.com/cppcheck-opensource/simplecpp/pull/339/files#diff-8feef6892144dbe750ffc83a1525c796968b56cd4d6500fe8bf22bac61cf9174
test.cpp https://github.com/cppcheck-opensource/simplecpp/pull/339/files#diff-042cc0321bd0d3c8cb8262c89142b3e6aba34345ae77b4294f5e07dd2687ffcf
main.cpphttps://github.com/cppcheck-opensource/simplecpp/pull/339/files#diff-608d8de3fba954c50110b6d7386988f27295de845e9d7174e40095ba5efcf1bb
View file https://github.com/cppcheck-opensource/simplecpp/blob/8a9eb0855ae61e71f722d88c507c97bc0e37e852/main.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/simplecpp/pull/339/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/simplecpp/pull/339/files#diff-608d8de3fba954c50110b6d7386988f27295de845e9d7174e40095ba5efcf1bb
https://github.com/cppcheck-opensource/simplecpp/pull/339/files#diff-608d8de3fba954c50110b6d7386988f27295de845e9d7174e40095ba5efcf1bb
simplecpp.cpphttps://github.com/cppcheck-opensource/simplecpp/pull/339/files#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832
View file https://github.com/cppcheck-opensource/simplecpp/blob/8a9eb0855ae61e71f722d88c507c97bc0e37e852/simplecpp.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/simplecpp/pull/339/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/simplecpp/pull/339/files#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832
https://github.com/cppcheck-opensource/simplecpp/pull/339/files#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832
https://github.com/cppcheck-opensource/simplecpp/pull/339/files#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832
https://github.com/cppcheck-opensource/simplecpp/pull/339/files#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832
https://github.com/cppcheck-opensource/simplecpp/pull/339/files#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832
https://github.com/cppcheck-opensource/simplecpp/pull/339/files#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832
https://github.com/cppcheck-opensource/simplecpp/pull/339/files#diff-c847846a0c414ac05f52e4f9686648f22c76c9bb152579a253b600223c202832
simplecpp.hhttps://github.com/cppcheck-opensource/simplecpp/pull/339/files#diff-8feef6892144dbe750ffc83a1525c796968b56cd4d6500fe8bf22bac61cf9174
View file https://github.com/cppcheck-opensource/simplecpp/blob/8a9eb0855ae61e71f722d88c507c97bc0e37e852/simplecpp.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/simplecpp/pull/339/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/simplecpp/pull/339/files#diff-8feef6892144dbe750ffc83a1525c796968b56cd4d6500fe8bf22bac61cf9174
https://github.com/cppcheck-opensource/simplecpp/pull/339/files#diff-8feef6892144dbe750ffc83a1525c796968b56cd4d6500fe8bf22bac61cf9174
test.cpphttps://github.com/cppcheck-opensource/simplecpp/pull/339/files#diff-042cc0321bd0d3c8cb8262c89142b3e6aba34345ae77b4294f5e07dd2687ffcf
View file https://github.com/cppcheck-opensource/simplecpp/blob/8a9eb0855ae61e71f722d88c507c97bc0e37e852/test.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/cppcheck-opensource/simplecpp/pull/339/{{ revealButtonHref }}
https://github.com/cppcheck-opensource/simplecpp/pull/339/files#diff-042cc0321bd0d3c8cb8262c89142b3e6aba34345ae77b4294f5e07dd2687ffcf
https://github.com/cppcheck-opensource/simplecpp/pull/339/files#diff-042cc0321bd0d3c8cb8262c89142b3e6aba34345ae77b4294f5e07dd2687ffcf
https://github.com/cppcheck-opensource/simplecpp/pull/339/files#diff-042cc0321bd0d3c8cb8262c89142b3e6aba34345ae77b4294f5e07dd2687ffcf
https://github.com/cppcheck-opensource/simplecpp/pull/339/files#diff-042cc0321bd0d3c8cb8262c89142b3e6aba34345ae77b4294f5e07dd2687ffcf
https://github.com/cppcheck-opensource/simplecpp/pull/339/files#diff-042cc0321bd0d3c8cb8262c89142b3e6aba34345ae77b4294f5e07dd2687ffcf
https://github.com/cppcheck-opensource/simplecpp/pull/339/files#diff-042cc0321bd0d3c8cb8262c89142b3e6aba34345ae77b4294f5e07dd2687ffcf
https://github.com/cppcheck-opensource/simplecpp/pull/339/files#diff-042cc0321bd0d3c8cb8262c89142b3e6aba34345ae77b4294f5e07dd2687ffcf
Please reload this pagehttps://github.com/cppcheck-opensource/simplecpp/pull/339/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

Viewport: width=device-width


URLs of crawlers that visited me.