René's URL Explorer Experiment


Title: Change file name adapter so it runs on directories. · Issue #119 · Ktt-Development/simplehttpserver · GitHub

Open Graph Title: Change file name adapter so it runs on directories. · Issue #119 · Ktt-Development/simplehttpserver

X Title: Change file name adapter so it runs on directories. · Issue #119 · Ktt-Development/simplehttpserver

Description: Prerequisites If all checks are not passed then the request will be closed. I have checked that no other similar feature request already exists. I have checked that this feature does not already exist. The feature request makes sense for...

Open Graph Description: Prerequisites If all checks are not passed then the request will be closed. I have checked that no other similar feature request already exists. I have checked that this feature does not already ex...

X Description: Prerequisites If all checks are not passed then the request will be closed. I have checked that no other similar feature request already exists. I have checked that this feature does not already ex...

Opengraph URL: https://github.com/Ktt-Development/simplehttpserver/issues/119

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Change file name adapter so it runs on directories.","articleBody":"### Prerequisites\r\n*If **all** checks are not passed then the request will be closed.*\r\n- [x] I have checked that no other similar feature request already exists.\r\n- [x] I have checked that this feature does not already exist.\r\n- [x] The feature request makes sense for the project.\r\n\r\n### Proposal\r\n*Describe the feature that should be added.*\r\n\r\nChange adapter so it runs on all files.\r\nhttps://github.com/Ktt-Development/simplehttpserver/blob/63aa92666126ad5a73f992e1f5a16cabf480d81e/src/main/java/com/kttdevelopment/simplehttpserver/handler/DirectoryEntry.java#L149-L151\r\n```diff\r\nfor(final File file : Objects.requireNonNullElse(parentFile.listFiles(), new File[0])){\r\n-    if(fileName.equals(file.isDirectory() ? file.getName() : adapter.getName(file))) // use adapter name only if not a directory\r\n+    if(fileName.equals(adapter.getName(file))\r\n        return file;\r\n```\r\n\r\n### Reasoning\r\n*Explain why this feature should be added.*\r\n\r\nDevelopers may want to use adapter names against directories ~~, specifically for checking within them (see https://github.com/Ktt-Development/webdir/pull/79).~~\r\n\r\nIf this change is made existing developers can simply use (below) to replicate the previous behavior.\r\n```java\r\n@Override\r\npublic final String getName(final File file){\r\n    return file.isDirectory() ? file.getName() : super.getName(file);\r\n}\r\n```","author":{"url":"https://github.com/Katsute","@type":"Person","name":"Katsute"},"datePublished":"2020-11-17T22:47:01.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/119/simplehttpserver/issues/119"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:9f38b791-18dc-06b6-a66b-1d07033b3440
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD378:4DA2C:76AA76:A7719D:6970AF95
html-safe-nonce020942f2355185295910a916afec2ec88bf455624c096159b4f27062cab3e2ae
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzc4OjREQTJDOjc2QUE3NjpBNzcxOUQ6Njk3MEFGOTUiLCJ2aXNpdG9yX2lkIjoiMzE4MTE3Mzg2MDA1NjczOTczMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac419d4bebaafb11b322133dd020de05b1ded27182828d104ee9c7be958d20301e
hovercard-subject-tagissue:745144055
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Ktt-Development/simplehttpserver/119/issue_layout
twitter:imagehttps://opengraph.githubassets.com/eedc1b7803d1d00d59c321d666d5b1cceec1629b03ff20b3b1fda1ef21e2dabe/Ktt-Development/simplehttpserver/issues/119
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/eedc1b7803d1d00d59c321d666d5b1cceec1629b03ff20b3b1fda1ef21e2dabe/Ktt-Development/simplehttpserver/issues/119
og:image:altPrerequisites If all checks are not passed then the request will be closed. I have checked that no other similar feature request already exists. I have checked that this feature does not already ex...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameKatsute
hostnamegithub.com
expected-hostnamegithub.com
None8e0be80373b724b033cdf8a7b1f78bf5fb6a5d7a2182a9a403aa30894606e390
turbo-cache-controlno-preview
go-importgithub.com/Ktt-Development/simplehttpserver git https://github.com/Ktt-Development/simplehttpserver.git
octolytics-dimension-user_id58783525
octolytics-dimension-user_loginKtt-Development
octolytics-dimension-repository_id227455248
octolytics-dimension-repository_nwoKtt-Development/simplehttpserver
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id227455248
octolytics-dimension-repository_network_root_nwoKtt-Development/simplehttpserver
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
releaseb8714db0002cf78dc2d2566571807e404d6cb817
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/Ktt-Development/simplehttpserver/issues/119#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FKtt-Development%2Fsimplehttpserver%2Fissues%2F119
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%2FKtt-Development%2Fsimplehttpserver%2Fissues%2F119
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=Ktt-Development%2Fsimplehttpserver
Reloadhttps://github.com/Ktt-Development/simplehttpserver/issues/119
Reloadhttps://github.com/Ktt-Development/simplehttpserver/issues/119
Reloadhttps://github.com/Ktt-Development/simplehttpserver/issues/119
Ktt-Development https://github.com/Ktt-Development
simplehttpserverhttps://github.com/Ktt-Development/simplehttpserver
Notifications https://github.com/login?return_to=%2FKtt-Development%2Fsimplehttpserver
Fork 0 https://github.com/login?return_to=%2FKtt-Development%2Fsimplehttpserver
Star 3 https://github.com/login?return_to=%2FKtt-Development%2Fsimplehttpserver
Code https://github.com/Ktt-Development/simplehttpserver
Issues 0 https://github.com/Ktt-Development/simplehttpserver/issues
Pull requests 0 https://github.com/Ktt-Development/simplehttpserver/pulls
Actions https://github.com/Ktt-Development/simplehttpserver/actions
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/Ktt-Development/simplehttpserver/security
Please reload this pagehttps://github.com/Ktt-Development/simplehttpserver/issues/119
Insights https://github.com/Ktt-Development/simplehttpserver/pulse
Code https://github.com/Ktt-Development/simplehttpserver
Issues https://github.com/Ktt-Development/simplehttpserver/issues
Pull requests https://github.com/Ktt-Development/simplehttpserver/pulls
Actions https://github.com/Ktt-Development/simplehttpserver/actions
Security https://github.com/Ktt-Development/simplehttpserver/security
Insights https://github.com/Ktt-Development/simplehttpserver/pulse
#120https://github.com/Ktt-Development/simplehttpserver/pull/120
Change file name adapter so it runs on directories.https://github.com/Ktt-Development/simplehttpserver/issues/119#top
#120https://github.com/Ktt-Development/simplehttpserver/pull/120
https://github.com/Katsute
feature requestRequest a featurehttps://github.com/Ktt-Development/simplehttpserver/issues?q=state%3Aopen%20label%3A%22feature%20request%22
4.3.0https://github.com/Ktt-Development/simplehttpserver/milestone/4
https://github.com/Katsute
https://github.com/Katsute
Katsutehttps://github.com/Katsute
on Nov 17, 2020https://github.com/Ktt-Development/simplehttpserver/issues/119#issue-745144055
simplehttpserver/src/main/java/com/kttdevelopment/simplehttpserver/handler/DirectoryEntry.javahttps://github.com/Ktt-Development/simplehttpserver/blob/63aa92666126ad5a73f992e1f5a16cabf480d81e/src/main/java/com/kttdevelopment/simplehttpserver/handler/DirectoryEntry.java#L149-L151
63aa926https://github.com/Ktt-Development/simplehttpserver/commit/63aa92666126ad5a73f992e1f5a16cabf480d81e
https://github.com/Ktt-Development/webdir/pull/79https://github.com/Ktt-Development/webdir/pull/79
Katsutehttps://github.com/Katsute
feature requestRequest a featurehttps://github.com/Ktt-Development/simplehttpserver/issues?q=state%3Aopen%20label%3A%22feature%20request%22
4.3.0https://github.com/Ktt-Development/simplehttpserver/milestone/4
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.