René's URL Explorer Experiment


Title: Reject invalid HTTP methods and resources by andy-maier · Pull Request #1019 · prometheus/client_python · GitHub

Open Graph Title: Reject invalid HTTP methods and resources by andy-maier · Pull Request #1019 · prometheus/client_python

X Title: Reject invalid HTTP methods and resources by andy-maier · Pull Request #1019 · prometheus/client_python

Description: This change addresses issue #1018 (currently, any HTTP method is handled by returning success and metrics data, which causes network scanners to report issues). Note, this needs careful review w.r....

Open Graph Description: This change addresses issue #1018 (currently, any HTTP method is handled by returning success and metrics data, which causes network scanners to report issues). Note, this needs careful review w.r....

X Description: This change addresses issue #1018 (currently, any HTTP method is handled by returning success and metrics data, which causes network scanners to report issues). Note, this needs careful review w.r....

Opengraph URL: https://github.com/prometheus/client_python/pull/1019

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:df8f1d0e-0fc3-01a8-edcd-5e453fea1d2c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9CBC:3E22DA:844DED:B6765B:696A75B6
html-safe-nonce1bd7a4332f9e6d930e70c82bd17d6834bfa9297de8bad8e0a7a41af6a22cd522
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Q0JDOjNFMjJEQTo4NDRERUQ6QjY3NjVCOjY5NkE3NUI2IiwidmlzaXRvcl9pZCI6IjExNDc2OTEzMDk5NTA3Mjc2MDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1769774b01e81bf9aa94cbacd1dedea1ff76523071606a229eb67b5b2b605cfb
hovercard-subject-tagpull_request:1798782021
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/prometheus/client_python/1019/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/89f722998ddcf144f16b30c393964beb7744189e7f83fcacafbe0ae1b71e70ec/prometheus/client_python/pull/1019
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/89f722998ddcf144f16b30c393964beb7744189e7f83fcacafbe0ae1b71e70ec/prometheus/client_python/pull/1019
og:image:altThis change addresses issue #1018 (currently, any HTTP method is handled by returning success and metrics data, which causes network scanners to report issues). Note, this needs careful review w.r....
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameandy-maier
hostnamegithub.com
expected-hostnamegithub.com
Nonecfa223d62d272274e0b68350b4bd7741f3ca7498b8c4b8b1bc1e6deabbdbc09d
turbo-cache-controlno-preview
go-importgithub.com/prometheus/client_python git https://github.com/prometheus/client_python.git
octolytics-dimension-user_id3380462
octolytics-dimension-user_loginprometheus
octolytics-dimension-repository_id30618733
octolytics-dimension-repository_nwoprometheus/client_python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id30618733
octolytics-dimension-repository_network_root_nwoprometheus/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
release6a0b6893c221f98f607598e939299fdf5763435d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/prometheus/client_python/pull/1019#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprometheus%2Fclient_python%2Fpull%2F1019
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%2Fprometheus%2Fclient_python%2Fpull%2F1019
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=prometheus%2Fclient_python
Reloadhttps://github.com/prometheus/client_python/pull/1019
Reloadhttps://github.com/prometheus/client_python/pull/1019
Reloadhttps://github.com/prometheus/client_python/pull/1019
prometheus https://github.com/prometheus
client_pythonhttps://github.com/prometheus/client_python
Notifications https://github.com/login?return_to=%2Fprometheus%2Fclient_python
Fork 841 https://github.com/login?return_to=%2Fprometheus%2Fclient_python
Star 4.3k https://github.com/login?return_to=%2Fprometheus%2Fclient_python
Code https://github.com/prometheus/client_python
Issues 108 https://github.com/prometheus/client_python/issues
Pull requests 28 https://github.com/prometheus/client_python/pulls
Discussions https://github.com/prometheus/client_python/discussions
Actions https://github.com/prometheus/client_python/actions
Projects 0 https://github.com/prometheus/client_python/projects
Wiki https://github.com/prometheus/client_python/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/prometheus/client_python/security
Please reload this pagehttps://github.com/prometheus/client_python/pull/1019
Insights https://github.com/prometheus/client_python/pulse
Code https://github.com/prometheus/client_python
Issues https://github.com/prometheus/client_python/issues
Pull requests https://github.com/prometheus/client_python/pulls
Discussions https://github.com/prometheus/client_python/discussions
Actions https://github.com/prometheus/client_python/actions
Projects https://github.com/prometheus/client_python/projects
Wiki https://github.com/prometheus/client_python/wiki
Security https://github.com/prometheus/client_python/security
Insights https://github.com/prometheus/client_python/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fprometheus%2Fclient_python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fprometheus%2Fclient_python%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/prometheus/client_python/pull/1019#issue-comment-box
csmarchbankshttps://github.com/csmarchbanks
prometheus:masterhttps://github.com/prometheus/client_python/tree/master
andy-maier:andy/strict-http-methodshttps://github.com/andy-maier/client_python/tree/andy/strict-http-methods
Reject invalid HTTP methods and resources https://github.com/prometheus/client_python/pull/1019#top
csmarchbankshttps://github.com/csmarchbanks
prometheus:masterhttps://github.com/prometheus/client_python/tree/master
andy-maier:andy/strict-http-methodshttps://github.com/andy-maier/client_python/tree/andy/strict-http-methods
Conversation 8 https://github.com/prometheus/client_python/pull/1019
Commits 1 https://github.com/prometheus/client_python/pull/1019/commits
Checks 0 https://github.com/prometheus/client_python/pull/1019/checks
Files changed 2 https://github.com/prometheus/client_python/pull/1019/files
https://github.co/hiddenchars
https://github.com/prometheus/client_python/pull/{{ revealButtonHref }}
https://github.com/andy-maier
andy-maierhttps://github.com/andy-maier
Mar 30, 2024https://github.com/prometheus/client_python/pull/1019#issue-2216272853
Please reload this pagehttps://github.com/prometheus/client_python/pull/1019
#1018https://github.com/prometheus/client_python/issues/1018
Please reload this pagehttps://github.com/prometheus/client_python/pull/1019
https://github.com/andy-maier
andy-maierhttps://github.com/andy-maier
Mar 30, 2024 https://github.com/prometheus/client_python/pull/1019#ref-issue-2216193581
Network scanners report issues because all HTTP methods are supported #1018 https://github.com/prometheus/client_python/issues/1018
https://github.com/andy-maier
andy-maierhttps://github.com/andy-maier
force-pushedhttps://github.com/prometheus/client_python/compare/8a06693b8e2286121a9a75491940c214a36d7a60..0a15d30d9fe8f0a78178f5da79061fb8c63575c3
8a06693https://github.com/prometheus/client_python/commit/8a06693b8e2286121a9a75491940c214a36d7a60
0a15d30https://github.com/prometheus/client_python/commit/0a15d30d9fe8f0a78178f5da79061fb8c63575c3
Compare https://github.com/prometheus/client_python/compare/8a06693b8e2286121a9a75491940c214a36d7a60..0a15d30d9fe8f0a78178f5da79061fb8c63575c3
March 31, 2024 13:32https://github.com/prometheus/client_python/pull/1019#event-12303627457
https://github.com/andy-maier
andy-maierhttps://github.com/andy-maier
Apr 2, 2024 https://github.com/prometheus/client_python/pull/1019#ref-issue-2218866183
tests/test_asgi.py failures with python 3.12 #1020 https://github.com/prometheus/client_python/issues/1020
https://github.com/csmarchbanks
csmarchbankshttps://github.com/csmarchbanks
Apr 8, 2024 https://github.com/prometheus/client_python/pull/1019#pullrequestreview-1987017635
View reviewed changes https://github.com/prometheus/client_python/pull/1019/files
csmarchbankshttps://github.com/csmarchbanks
https://github.com/prometheus/client_python/pull/1019#pullrequestreview-1987017635
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/prometheus/client_python/pull/1019
prometheus_client/exposition.pyhttps://github.com/prometheus/client_python/pull/1019/files#diff-31616dde80dc7c3540794d368828f5fdf09536ba95ceb8fef6463e76c35c97e6
csmarchbankshttps://github.com/csmarchbanks
Apr 8, 2024https://github.com/prometheus/client_python/pull/1019#discussion_r1556183330
Please reload this pagehttps://github.com/prometheus/client_python/pull/1019
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/prometheus/client_python/pull/1019
kakkoyunhttps://github.com/kakkoyun
Apr 10, 2024https://github.com/prometheus/client_python/pull/1019#discussion_r1559155297
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://github.com/prometheus/client_golang/blob/e133e490296d2ff915bfc23cdec87c235ad36ef3/examples/simple/main.go#L43https://github.com/prometheus/client_golang/blob/e133e490296d2ff915bfc23cdec87c235ad36ef3/examples/simple/main.go#L43
Please reload this pagehttps://github.com/prometheus/client_python/pull/1019
andy-maierhttps://github.com/andy-maier
May 31, 2024https://github.com/prometheus/client_python/pull/1019#discussion_r1621867799
Please reload this pagehttps://github.com/prometheus/client_python/pull/1019
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/prometheus/client_python/pull/1019
andy-maierhttps://github.com/andy-maier
May 31, 2024https://github.com/prometheus/client_python/pull/1019#discussion_r1621869313
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/prometheus/client_python/pull/1019
andy-maierhttps://github.com/andy-maier
Jul 29, 2024https://github.com/prometheus/client_python/pull/1019#discussion_r1695352464
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@kakkoyunhttps://github.com/kakkoyun
@csmarchbankshttps://github.com/csmarchbanks
Please reload this pagehttps://github.com/prometheus/client_python/pull/1019
https://github.com/andy-maier
andy-maierhttps://github.com/andy-maier
force-pushedhttps://github.com/prometheus/client_python/compare/cc174081452802947c3e9cd08ae753fbdf28d6ec..5ae985238fa44b4ef5802abba1f6789d8cd0d49c
cc17408https://github.com/prometheus/client_python/commit/cc174081452802947c3e9cd08ae753fbdf28d6ec
5ae9852https://github.com/prometheus/client_python/commit/5ae985238fa44b4ef5802abba1f6789d8cd0d49c
Compare https://github.com/prometheus/client_python/compare/cc174081452802947c3e9cd08ae753fbdf28d6ec..5ae985238fa44b4ef5802abba1f6789d8cd0d49c
July 29, 2024 14:45https://github.com/prometheus/client_python/pull/1019#event-13681865377
Using prometheus_client 0.20.0.post1 zhmcclient/zhmc-prometheus-exporter#551 https://github.com/zhmcclient/zhmc-prometheus-exporter/pull/551
Use official prometheus_client version 0.21.0, once released zhmcclient/zhmc-prometheus-exporter#552 https://github.com/zhmcclient/zhmc-prometheus-exporter/issues/552
Fixed asgiref version for Python 3.8 #1053 https://github.com/prometheus/client_python/pull/1053
https://github.com/andy-maier
andy-maierhttps://github.com/andy-maier
force-pushedhttps://github.com/prometheus/client_python/compare/5ae985238fa44b4ef5802abba1f6789d8cd0d49c..aa7e9e62ea4758447cb4f4e72d15be3a82d4d7b2
5ae9852https://github.com/prometheus/client_python/commit/5ae985238fa44b4ef5802abba1f6789d8cd0d49c
aa7e9e6https://github.com/prometheus/client_python/commit/aa7e9e62ea4758447cb4f4e72d15be3a82d4d7b2
Compare https://github.com/prometheus/client_python/compare/5ae985238fa44b4ef5802abba1f6789d8cd0d49c..aa7e9e62ea4758447cb4f4e72d15be3a82d4d7b2
July 30, 2024 08:36https://github.com/prometheus/client_python/pull/1019#event-13692234324
https://github.com/andy-maier
andy-maierhttps://github.com/andy-maier
Jul 30, 2024https://github.com/prometheus/client_python/pull/1019#issuecomment-2257791743
@csmarchbankshttps://github.com/csmarchbanks
#1053https://github.com/prometheus/client_python/pull/1053
Please reload this pagehttps://github.com/prometheus/client_python/pull/1019
https://github.com/andy-maier
Reject invalid HTTP methods and resourceshttps://github.com/prometheus/client_python/pull/1019/commits/1ad75255d6937fc45b0ed7270f45becbe6e10baf
1ad7525https://github.com/prometheus/client_python/pull/1019/commits/1ad75255d6937fc45b0ed7270f45becbe6e10baf
https://github.com/andy-maier
andy-maierhttps://github.com/andy-maier
force-pushedhttps://github.com/prometheus/client_python/compare/aa7e9e62ea4758447cb4f4e72d15be3a82d4d7b2..1ad75255d6937fc45b0ed7270f45becbe6e10baf
aa7e9e6https://github.com/prometheus/client_python/commit/aa7e9e62ea4758447cb4f4e72d15be3a82d4d7b2
1ad7525https://github.com/prometheus/client_python/commit/1ad75255d6937fc45b0ed7270f45becbe6e10baf
Compare https://github.com/prometheus/client_python/compare/aa7e9e62ea4758447cb4f4e72d15be3a82d4d7b2..1ad75255d6937fc45b0ed7270f45becbe6e10baf
July 30, 2024 08:49https://github.com/prometheus/client_python/pull/1019#event-13692413406
https://github.com/csmarchbanks
csmarchbankshttps://github.com/csmarchbanks
Aug 2, 2024 https://github.com/prometheus/client_python/pull/1019#pullrequestreview-2216076474
View reviewed changes https://github.com/prometheus/client_python/pull/1019/files/1ad75255d6937fc45b0ed7270f45becbe6e10baf
csmarchbankshttps://github.com/csmarchbanks
https://github.com/prometheus/client_python/pull/1019#pullrequestreview-2216076474
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/prometheus/client_python/pull/1019
https://github.com/csmarchbanks
csmarchbankshttps://github.com/csmarchbanks
7c45f84https://github.com/prometheus/client_python/commit/7c45f84e5e3d2e0a75b3946408fec1a4d5c72841
Aug 2, 2024https://github.com/prometheus/client_python/pull/1019#event-13744837858
https://github.com/andy-maier
andy-maierhttps://github.com/andy-maier
September 28, 2024 05:13https://github.com/prometheus/client_python/pull/1019#event-14438841523
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprometheus%2Fclient_python%2Fpull%2F1019
https://github.com/kakkoyun
kakkoyun https://github.com/kakkoyun
https://github.com/prometheus/client_python/pull/1019/files/0a15d30d9fe8f0a78178f5da79061fb8c63575c3
https://github.com/csmarchbanks
csmarchbanks https://github.com/csmarchbanks
https://github.com/prometheus/client_python/pull/1019/files/1ad75255d6937fc45b0ed7270f45becbe6e10baf
Please reload this pagehttps://github.com/prometheus/client_python/pull/1019
https://github.com/andy-maier
https://github.com/kakkoyun
https://github.com/csmarchbanks
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.