Title: Allow None as value for req.args. · Issue #29 · grisha/mod_python · GitHub
Open Graph Title: Allow None as value for req.args. · Issue #29 · grisha/mod_python
X Title: Allow None as value for req.args. · Issue #29 · grisha/mod_python
Description: From the mailing list, post (with patch) by Ron Gomes: We use mod_python to rewrite URLs internally based on request criteria. As part of our processing, in our request handler we grab and then remove any request query parameters by sett...
Open Graph Description: From the mailing list, post (with patch) by Ron Gomes: We use mod_python to rewrite URLs internally based on request criteria. As part of our processing, in our request handler we grab and then rem...
X Description: From the mailing list, post (with patch) by Ron Gomes: We use mod_python to rewrite URLs internally based on request criteria. As part of our processing, in our request handler we grab and then rem...
Opengraph URL: https://github.com/grisha/mod_python/issues/29
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Allow None as value for req.args.","articleBody":"From the mailing list, post (with patch) by Ron Gomes:\n\nWe use mod_python to rewrite URLs internally based on request criteria. As part of our processing, in our request handler we grab and then remove any request query parameters by setting\n\n```\nreq.args = None\n```\n\nso that they will be invisible to later phases.\n\nA change was necessary to src/requestobject.c in order to make this work since, as delivered, that line causes an exception to be thrown because the code only allows Python strings to be assigned to req.args.\n\nAssigning an empty string would work but the semantics of that are slightly different and are indistinguishable from an explictly-empty query string.\n","author":{"url":"https://github.com/grisha","@type":"Person","name":"grisha"},"datePublished":"2014-03-11T01:05:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/29/mod_python/issues/29"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3af7cb48-9960-511f-76af-6023375199df |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DBC4:3E643E:15FB694:1E2F239:6A4DEC7B |
| html-safe-nonce | e2a7c4a668d0c40ec8e2dfc4bbf4c30ae5c1312f379def6139ee545d7da85ebf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQkM0OjNFNjQzRToxNUZCNjk0OjFFMkYyMzk6NkE0REVDN0IiLCJ2aXNpdG9yX2lkIjoiMzY1NzIyMzE4NjE0MTgwMTU5NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 698b4f4ed4827373d48f852c0c82839f7928f1231ab64530ccea1ecc269e5155 |
| hovercard-subject-tag | issue:29146528 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/grisha/mod_python/29/issue_layout |
| twitter:image | https://opengraph.githubassets.com/72d10cfda6c011ebae468f0ec64204419e6425f9ec6f9357dc2cd94df7b6f950/grisha/mod_python/issues/29 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/72d10cfda6c011ebae468f0ec64204419e6425f9ec6f9357dc2cd94df7b6f950/grisha/mod_python/issues/29 |
| og:image:alt | From the mailing list, post (with patch) by Ron Gomes: We use mod_python to rewrite URLs internally based on request criteria. As part of our processing, in our request handler we grab and then rem... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | grisha |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/grisha/mod_python git https://github.com/grisha/mod_python.git |
| octolytics-dimension-user_id | 243835 |
| octolytics-dimension-user_login | grisha |
| octolytics-dimension-repository_id | 7504434 |
| octolytics-dimension-repository_nwo | grisha/mod_python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7504434 |
| octolytics-dimension-repository_network_root_nwo | grisha/mod_python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width