René's URL Explorer Experiment


Title: fix(django): Added SDK logic that honors the `X-Forwarded-For` header by ahmedetefy · Pull Request #1037 · getsentry/sentry-python · GitHub

Open Graph Title: fix(django): Added SDK logic that honors the `X-Forwarded-For` header by ahmedetefy · Pull Request #1037 · getsentry/sentry-python

X Title: fix(django): Added SDK logic that honors the `X-Forwarded-For` header by ahmedetefy · Pull Request #1037 · getsentry/sentry-python

Description: The official Python SDK for Sentry.io. Contribute to getsentry/sentry-python development by creating an account on GitHub.

Open Graph Description: This PR, Changes the SentryWsgiMiddleware to accept a use_x_forwarded_for arg that defaults to False. It acts as a flag that if enabled allows for checking if the HTTP_X_FORWARDED_HOST and if it ...

X Description: This PR, Changes the SentryWsgiMiddleware to accept a use_x_forwarded_for arg that defaults to False. It acts as a flag that if enabled allows for checking if the HTTP_X_FORWARDED_HOST and if it ...

Opengraph URL: https://github.com/getsentry/sentry-python/pull/1037

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:3e76c51d-d15c-21c6-d605-20eabbcca059
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9706:BB5B5:487765:60750D:6B00A49E
html-safe-nonce9db0ef273dc114e7164a7d8b6d2df9859cc28fe04d2dfe02aa547e962755b2ff
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzA2OkJCNUI1OjQ4Nzc2NTo2MDc1MEQ6NkIwMEE0OUUiLCJ2aXNpdG9yX2lkIjoiODI2MzE3Mjg3MjAzMDE2ODIyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac912a14d3d18767031ea7daecf0e9041a39d731f55d365d726a56a5f1f824216d
hovercard-subject-tagpull_request:582173916
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/getsentry/sentry-python/1037/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0c819a0a395e2b50f9079b571c27979b12faf202e871e4c20f3f9cc63b169c81/getsentry/sentry-python/pull/1037
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0c819a0a395e2b50f9079b571c27979b12faf202e871e4c20f3f9cc63b169c81/getsentry/sentry-python/pull/1037
og:image:altThis PR, Changes the SentryWsgiMiddleware to accept a use_x_forwarded_for arg that defaults to False. It acts as a flag that if enabled allows for checking if the HTTP_X_FORWARDED_HOST and if it ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameahmedetefy
hostnamegithub.com
expected-hostnamegithub.com
None455b493e3402a3a3a06beac5d20bb7db3da060808b220aa48d6a7eca7c59863a
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id137814779
octolytics-dimension-repository_nwogetsentry/sentry-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id137814779
octolytics-dimension-repository_network_root_nwogetsentry/sentry-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
release2f575159976167242d488c0b062eb355c4e198b7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-python/issues/1037#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F1037
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F1037
Sign uphttps://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=getsentry%2Fsentry-python
Reloadhttps://github.com/getsentry/sentry-python/issues/1037
Reloadhttps://github.com/getsentry/sentry-python/issues/1037
Reloadhttps://github.com/getsentry/sentry-python/issues/1037
getsentryhttps://github.com/getsentry
sentry-pythonhttps://github.com/getsentry/sentry-python
Codehttps://github.com/getsentry/sentry-python
Issues345 (345)https://github.com/getsentry/sentry-python/issues
Pull requests42 (42)https://github.com/getsentry/sentry-python/pulls
Discussionshttps://github.com/getsentry/sentry-python/discussions
Actionshttps://github.com/getsentry/sentry-python/actions
Security and quality2 (2)https://github.com/getsentry/sentry-python/security
Insightshttps://github.com/getsentry/sentry-python/insights
https://github.com/getsentry/sentry-python
ahmedetefyhttps://github.com/ahmedetefy
masterhttps://github.com/getsentry/sentry-python/tree/master
fix/django-x-forwarded-hosthttps://github.com/getsentry/sentry-python/tree/fix/django-x-forwarded-host
Conversationhttps://github.com/getsentry/sentry-python/pull/1037
Commits5 (5)https://github.com/getsentry/sentry-python/pull/1037/commits
Checkshttps://github.com/getsentry/sentry-python/pull/1037/checks
Files changedhttps://github.com/getsentry/sentry-python/pull/1037/files
fix(django): Added SDK logic that honors the X-Forwarded-For headerhttps://github.com/getsentry/sentry-python/issues/1037#top
ahmedetefyhttps://github.com/ahmedetefy
masterhttps://github.com/getsentry/sentry-python/tree/master
fix/django-x-forwarded-hosthttps://github.com/getsentry/sentry-python/tree/fix/django-x-forwarded-host
https://github.com/ahmedetefy
ahmedetefyhttps://github.com/ahmedetefy
Mar 1, 2021https://github.com/getsentry/sentry-python/issues/1037#issue-819001764
Please reload this pagehttps://github.com/getsentry/sentry-python/issues/1037
ahmedetefyhttps://github.com/ahmedetefy
March 1, 2021 14:27https://github.com/getsentry/sentry-python/issues/1037#commits-pushed-39c15e1
https://github.com/ahmedetefy
Passed django setting USE_X_FORWARDED_FOR to sentry wsgi middleware u…https://github.com/getsentry/sentry-python/pull/1037/commits/39c15e121740b69c0f88cdcb1176d01eab160894
39c15e1https://github.com/getsentry/sentry-python/pull/1037/commits/39c15e121740b69c0f88cdcb1176d01eab160894
https://github.com/ahmedetefy
Linting changeshttps://github.com/getsentry/sentry-python/pull/1037/commits/eaf122e32fad17531106e34c57e1813e4fd52dbf
eaf122ehttps://github.com/getsentry/sentry-python/pull/1037/commits/eaf122e32fad17531106e34c57e1813e4fd52dbf
https://github.com/ahmedetefy
Accessed settings attr correctlyhttps://github.com/getsentry/sentry-python/pull/1037/commits/e77ed8c9ea2c5b695e1e953f059c5a34bd80c3e8
e77ed8chttps://github.com/getsentry/sentry-python/pull/1037/commits/e77ed8c9ea2c5b695e1e953f059c5a34bd80c3e8
https://github.com/ahmedetefy
Added django tests for django setting of USE_X_FORWARDED_HOST and ext…https://github.com/getsentry/sentry-python/pull/1037/commits/f46a2699d5002ee843d1886e95d25344b0c675f4
f46a269https://github.com/getsentry/sentry-python/pull/1037/commits/f46a2699d5002ee843d1886e95d25344b0c675f4
fix: Formattinghttps://github.com/getsentry/sentry-python/pull/1037/commits/9a13364aaf0a9c9889fa86d96ad7c5110ba2f2f3
9a13364https://github.com/getsentry/sentry-python/pull/1037/commits/9a13364aaf0a9c9889fa86d96ad7c5110ba2f2f3
https://github.com/ahmedetefy
ahmedetefyhttps://github.com/ahmedetefy
untitakerhttps://github.com/untitaker
March 1, 2021 15:52https://github.com/getsentry/sentry-python/issues/1037#event-4390389221
https://github.com/untitaker
untitakerhttps://github.com/untitaker
Mar 2, 2021 https://github.com/getsentry/sentry-python/issues/1037#pullrequestreview-601626438
View reviewed changes https://github.com/getsentry/sentry-python/pull/1037/files/9a13364aaf0a9c9889fa86d96ad7c5110ba2f2f3
tests/integrations/django/test_basic.pyhttps://github.com/getsentry/sentry-python/pull/1037/files/9a13364aaf0a9c9889fa86d96ad7c5110ba2f2f3#diff-18f1bd8241119d62eddf36e6bf69d0f29bd8968bf2aca21d9d6238040c60189b
untitakerhttps://github.com/untitaker
Mar 2, 2021https://github.com/getsentry/sentry-python/issues/1037#discussion_r585418380
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-python/issues/1037
https://github.com/ahmedetefy
ahmedetefyhttps://github.com/ahmedetefy
3a0bd74https://github.com/getsentry/sentry-python/commit/3a0bd746390528b3e718b4fe491552865aad12c4
Mar 2, 2021https://github.com/getsentry/sentry-python/pull/1037#event-4394815390
https://github.com/ahmedetefy
ahmedetefyhttps://github.com/ahmedetefy
March 2, 2021 09:51https://github.com/getsentry/sentry-python/issues/1037#event-4394815447
alexmvhttps://github.com/alexmv
Mar 5, 2021 https://github.com/getsentry/sentry-python/issues/1037#ref-commit-2fdbb1d
https://github.com/alexmv
requirements: Upgrade via ./scripts/upgrade-requirementshttps://github.com/CAVaccineInventory/vial/commit/2fdbb1de38c91488267350d306a80a559662a93f
2fdbb1dhttps://github.com/CAVaccineInventory/vial/commit/2fdbb1de38c91488267350d306a80a559662a93f
getsentry/sentry-python#994https://github.com/getsentry/sentry-python/pull/994
getsentry/sentry-python#1035https://github.com/getsentry/sentry-python/pull/1035
getsentry/sentry-python#1034https://github.com/getsentry/sentry-python/pull/1034
getsentry/sentry-python#1037https://github.com/getsentry/sentry-python/pull/1037
getsentry/sentry-python#1032https://github.com/getsentry/sentry-python/pull/1032
https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.mdhttps://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md
Bump sentry-sdk from 0.19.5 to 1.0.0 freelawproject/courtlistener#1608 https://github.com/freelawproject/courtlistener/pull/1608
Bump sentry-sdk from 0.20.3 to 1.0.0 philgyford/django-hines#275 https://github.com/philgyford/django-hines/pull/275
Bump sentry-sdk from 0.20.3 to 1.0.0 in /natlas-agent natlas/natlas#688 https://github.com/natlas/natlas/pull/688
Bump sentry-sdk from 0.17.3 to 1.0.0 in /backend emilfars/code-review#137 https://github.com/emilfars/code-review/pull/137
Bump sentry-sdk[flask] from 0.18.0 to 1.0.0 olivluca/alerta#20 https://github.com/olivluca/alerta/pull/20
Update sentry-sdk[flask] requirement from ~=0.19.5 to ~=1.0.0 ComputerScienceHouse/profiles#92 https://github.com/ComputerScienceHouse/profiles/pull/92
Bump sentry-sdk from 0.20.3 to 1.0.0 oddbird/Metecho#909 https://github.com/oddbird/Metecho/pull/909
Bump sentry-sdk from 0.19.5 to 1.0.0 hsm207/rasa#157 https://github.com/hsm207/rasa/pull/157
Bump sentry-sdk from 0.19.5 to 1.0.0 metriqteam/rasa#7 https://github.com/metriqteam/rasa/pull/7
Bump sentry-sdk from 0.20.3 to 1.0.0 python-discord/forms-backend#71 https://github.com/python-discord/forms-backend/pull/71
Bump sentry-sdk from 0.20.3 to 1.0.0 SaravgiYash/openlibrary#52 https://github.com/SaravgiYash/openlibrary/pull/52
Bump sentry-sdk from 0.20.3 to 1.0.0 internetarchive/openlibrary#4821 https://github.com/internetarchive/openlibrary/pull/4821
Bump sentry-sdk from 0.17.3 to 1.0.0 alphagov/govuk-shielded-vulnerable-people-service#325 https://github.com/alphagov/govuk-shielded-vulnerable-people-service/pull/325
Bump sentry-sdk from 0.17.3 to 1.0.0 alphagov/transfer-coronavirus-data-service#116 https://github.com/alphagov/transfer-coronavirus-data-service/pull/116
Bump sentry-sdk from 0.18.0 to 1.0.0 eddieferrer/sizesquirrel-open#214 https://github.com/eddieferrer/sizesquirrel-open/pull/214
https://github.co/hiddenchars
https://github.com/getsentry/sentry-python/issues/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F1037
https://github.com/untitaker
untitaker https://github.com/untitaker
https://github.com/getsentry/sentry-python/pull/1037/files/9a13364aaf0a9c9889fa86d96ad7c5110ba2f2f3
Please reload this pagehttps://github.com/getsentry/sentry-python/issues/1037
Please reload this pagehttps://github.com/getsentry/sentry-python/issues/1037
https://github.com/ahmedetefy
https://github.com/untitaker
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.