René's URL Explorer Experiment


Title: Malformed JSON body results in 400 Bad Request instead of 500 by alxyzc · Pull Request #162 · microsoft/ModSecurity · GitHub

Open Graph Title: Malformed JSON body results in 400 Bad Request instead of 500 by alxyzc · Pull Request #162 · microsoft/ModSecurity

X Title: Malformed JSON body results in 400 Bad Request instead of 500 by alxyzc · Pull Request #162 · microsoft/ModSecurity

Description: Introducing new return value (-8) in modsecurity_request_body_end when failing to parse JSON bodies This -8 return value in turn results in a 400 Bad Request response status code in NGINX

Open Graph Description: Introducing new return value (-8) in modsecurity_request_body_end when failing to parse JSON bodies This -8 return value in turn results in a 400 Bad Request response status code in NGINX

X Description: Introducing new return value (-8) in modsecurity_request_body_end when failing to parse JSON bodies This -8 return value in turn results in a 400 Bad Request response status code in NGINX

Opengraph URL: https://github.com/microsoft/ModSecurity/pull/162

X: @github

direct link

Domain: patch-diff.githubusercontent.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:63fdfebb-5ac2-a673-8378-9d218aadff75
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC646:3287BB:F8DFE0:1468DBF:6976F151
html-safe-nonceec8c90762fd1b3bc8945a94587167899499f36405ed043d2ca46bc9bd8e828fb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjQ2OjMyODdCQjpGOERGRTA6MTQ2OERCRjo2OTc2RjE1MSIsInZpc2l0b3JfaWQiOiIzMTYzMzQ2NjIzMzM3NTI1NTg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd17cf89a9ecb849d45e28cabd77bed937ea4074e91977b6a824d5baa2f5b951e
hovercard-subject-tagpull_request:394960561
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/microsoft/ModSecurity/162/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/d2fc33f6a028b3748384736a54985ef3d6f64c3e9e9aaf8f8d34cef29509779e/microsoft/ModSecurity/pull/162
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d2fc33f6a028b3748384736a54985ef3d6f64c3e9e9aaf8f8d34cef29509779e/microsoft/ModSecurity/pull/162
og:image:altIntroducing new return value (-8) in modsecurity_request_body_end when failing to parse JSON bodies This -8 return value in turn results in a 400 Bad Request response status code in NGINX
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamealxyzc
hostnamegithub.com
expected-hostnamegithub.com
None01d198479908d09a841b2febe8eb105a81af2af7d81830960fe0971e1f4adc09
turbo-cache-controlno-preview
go-importgithub.com/microsoft/ModSecurity git https://github.com/microsoft/ModSecurity.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id90289274
octolytics-dimension-repository_nwomicrosoft/ModSecurity
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id1320594
octolytics-dimension-repository_parent_nwoowasp-modsecurity/ModSecurity
octolytics-dimension-repository_network_root_id1320594
octolytics-dimension-repository_network_root_nwoowasp-modsecurity/ModSecurity
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
releasef752335dbbea672610081196a1998e39aec5e14b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FModSecurity%2Fpull%2F162
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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FModSecurity%2Fpull%2F162
Sign up https://patch-diff.githubusercontent.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=microsoft%2FModSecurity
Reloadhttps://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162
Reloadhttps://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162
Reloadhttps://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162
microsoft https://patch-diff.githubusercontent.com/microsoft
ModSecurityhttps://patch-diff.githubusercontent.com/microsoft/ModSecurity
owasp-modsecurity/ModSecurityhttps://patch-diff.githubusercontent.com/owasp-modsecurity/ModSecurity
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fmicrosoft%2FModSecurity
Fork 24 https://patch-diff.githubusercontent.com/login?return_to=%2Fmicrosoft%2FModSecurity
Star 53 https://patch-diff.githubusercontent.com/login?return_to=%2Fmicrosoft%2FModSecurity
Code https://patch-diff.githubusercontent.com/microsoft/ModSecurity
Pull requests 4 https://patch-diff.githubusercontent.com/microsoft/ModSecurity/pulls
Actions https://patch-diff.githubusercontent.com/microsoft/ModSecurity/actions
Projects 0 https://patch-diff.githubusercontent.com/microsoft/ModSecurity/projects
Models https://patch-diff.githubusercontent.com/microsoft/ModSecurity/models
Wiki https://patch-diff.githubusercontent.com/microsoft/ModSecurity/wiki
Security 0 https://patch-diff.githubusercontent.com/microsoft/ModSecurity/security
Insights https://patch-diff.githubusercontent.com/microsoft/ModSecurity/pulse
Code https://patch-diff.githubusercontent.com/microsoft/ModSecurity
Pull requests https://patch-diff.githubusercontent.com/microsoft/ModSecurity/pulls
Actions https://patch-diff.githubusercontent.com/microsoft/ModSecurity/actions
Projects https://patch-diff.githubusercontent.com/microsoft/ModSecurity/projects
Models https://patch-diff.githubusercontent.com/microsoft/ModSecurity/models
Wiki https://patch-diff.githubusercontent.com/microsoft/ModSecurity/wiki
Security https://patch-diff.githubusercontent.com/microsoft/ModSecurity/security
Insights https://patch-diff.githubusercontent.com/microsoft/ModSecurity/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fmicrosoft%2FModSecurity%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fmicrosoft%2FModSecurity%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162#issue-comment-box
alxyzchttps://patch-diff.githubusercontent.com/alxyzc
waf_nginxhttps://patch-diff.githubusercontent.com/microsoft/ModSecurity/tree/waf_nginx
alxyzc/fix/unparsable-bodies-return-400https://patch-diff.githubusercontent.com/microsoft/ModSecurity/tree/alxyzc/fix/unparsable-bodies-return-400
Malformed JSON body results in 400 Bad Request instead of 500 https://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162#top
alxyzchttps://patch-diff.githubusercontent.com/alxyzc
waf_nginxhttps://patch-diff.githubusercontent.com/microsoft/ModSecurity/tree/waf_nginx
alxyzc/fix/unparsable-bodies-return-400https://patch-diff.githubusercontent.com/microsoft/ModSecurity/tree/alxyzc/fix/unparsable-bodies-return-400
Conversation 11 https://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162
Commits 1 https://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162/commits
Checks 0 https://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162/checks
Files changed https://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162/files
Please reload this pagehttps://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/alxyzc
alxyzchttps://patch-diff.githubusercontent.com/alxyzc
Mar 27, 2020https://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162#issue-589401995
Please reload this pagehttps://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162
https://patch-diff.githubusercontent.com/alxyzc
Introducing new return value (-8) in modsecurity_request_body_end whe…https://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162/commits/65e7edc76ee5f300fa7d846abb932c8927e2296e
65e7edchttps://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162/commits/65e7edc76ee5f300fa7d846abb932c8927e2296e
https://patch-diff.githubusercontent.com/alxyzc
alxyzchttps://patch-diff.githubusercontent.com/alxyzc
alonzophttps://patch-diff.githubusercontent.com/alonzop
azhao155https://patch-diff.githubusercontent.com/azhao155
meetughttps://patch-diff.githubusercontent.com/meetug
March 27, 2020 20:41https://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162#event-3174029654
https://patch-diff.githubusercontent.com/alxyzc
alxyzchttps://patch-diff.githubusercontent.com/alxyzc
Mar 27, 2020https://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162#event-3174037377
https://patch-diff.githubusercontent.com/azhao155
azhao155https://patch-diff.githubusercontent.com/azhao155
Mar 27, 2020 https://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162#pullrequestreview-383189900
View reviewed changes https://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162/files/65e7edc76ee5f300fa7d846abb932c8927e2296e
apache2/msc_reqbody.chttps://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162/files/65e7edc76ee5f300fa7d846abb932c8927e2296e#diff-ad466a65e9dee91fb2c0651828df123ef45901c3f8bc34b5ce873b9ca67a2780
azhao155https://patch-diff.githubusercontent.com/azhao155
Mar 27, 2020https://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162#discussion_r399530111
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162
alxyzchttps://patch-diff.githubusercontent.com/alxyzc
Mar 27, 2020https://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162#discussion_r399540965
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
RFC 7231https://tools.ietf.org/html/rfc7231
Please reload this pagehttps://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162
azhao155https://patch-diff.githubusercontent.com/azhao155
Mar 27, 2020https://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162#discussion_r399544038
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162
alonzophttps://patch-diff.githubusercontent.com/alonzop
Mar 27, 2020https://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162#discussion_r399545109
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162
azhao155https://patch-diff.githubusercontent.com/azhao155
Mar 27, 2020https://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162#discussion_r399545574
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162
alonzophttps://patch-diff.githubusercontent.com/alonzop
Mar 27, 2020https://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162#discussion_r399546295
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162
alxyzchttps://patch-diff.githubusercontent.com/alxyzc
Mar 27, 2020https://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162#discussion_r399555872
Please reload this pagehttps://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@azhao155https://github.com/azhao155
@alonzophttps://github.com/alonzop
source codehttps://github.com/microsoft/ModSecurity/blob/alxyzc/fix/unparsable-bodies-return-400/apache2/apache2_util.c#L334
Please reload this pagehttps://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162
alonzophttps://patch-diff.githubusercontent.com/alonzop
Mar 27, 2020https://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162#discussion_r399560941
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@alxyzchttps://github.com/alxyzc
@asridharanhttps://github.com/asridharan
Please reload this pagehttps://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162
azhao155https://patch-diff.githubusercontent.com/azhao155
Mar 28, 2020https://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162#discussion_r399676674
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@alxyzchttps://github.com/alxyzc
@asridharanhttps://github.com/asridharan
Please reload this pagehttps://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162
asridharanhttps://patch-diff.githubusercontent.com/asridharan
Mar 29, 2020https://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162#discussion_r399726039
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@alxyzchttps://github.com/alxyzc
Please reload this pagehttps://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FModSecurity%2Fpull%2F162
https://patch-diff.githubusercontent.com/alonzop
alonzop https://patch-diff.githubusercontent.com/alonzop
https://patch-diff.githubusercontent.com/meetug
meetug https://patch-diff.githubusercontent.com/meetug
https://patch-diff.githubusercontent.com/asridharan
asridharan https://patch-diff.githubusercontent.com/asridharan
https://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162/files/65e7edc76ee5f300fa7d846abb932c8927e2296e
https://patch-diff.githubusercontent.com/azhao155
azhao155 https://patch-diff.githubusercontent.com/azhao155
https://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162/files/65e7edc76ee5f300fa7d846abb932c8927e2296e
Please reload this pagehttps://patch-diff.githubusercontent.com/microsoft/ModSecurity/pull/162
https://patch-diff.githubusercontent.com/alxyzc
https://patch-diff.githubusercontent.com/asridharan
https://patch-diff.githubusercontent.com/alonzop
https://patch-diff.githubusercontent.com/azhao155
https://patch-diff.githubusercontent.com/apps/copilot-swe-agent
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.