Title: platform.architecture does not correctly escape argument to /usr/bin/file · Issue #60316 · python/cpython · GitHub
Open Graph Title: platform.architecture does not correctly escape argument to /usr/bin/file · Issue #60316 · python/cpython
X Title: platform.architecture does not correctly escape argument to /usr/bin/file · Issue #60316 · python/cpython
Description: BPO 16112 Nosy @malemburg, @jcea, @pitrou, @vstinner, @tiran Files fix-platform-architecture.patch: Use subprocess instead of os.popen to run fileplatform.patch Note: these values reflect the state of the issue at the time it was migrate...
Open Graph Description: BPO 16112 Nosy @malemburg, @jcea, @pitrou, @vstinner, @tiran Files fix-platform-architecture.patch: Use subprocess instead of os.popen to run fileplatform.patch Note: these values reflect the state...
X Description: BPO 16112 Nosy @malemburg, @jcea, @pitrou, @vstinner, @tiran Files fix-platform-architecture.patch: Use subprocess instead of os.popen to run fileplatform.patch Note: these values reflect the state...
Opengraph URL: https://github.com/python/cpython/issues/60316
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"platform.architecture does not correctly escape argument to /usr/bin/file","articleBody":"BPO | [16112](https://bugs.python.org/issue16112)\n--- | :---\nNosy | @malemburg, @jcea, @pitrou, @vstinner, @tiran\nFiles | \u003cli\u003e[fix-platform-architecture.patch](https://bugs.python.org/file27391/fix-platform-architecture.patch \"Uploaded as text/plain at 2012-10-02.19:15:15 by David.Benjamin\"): Use subprocess instead of os.popen to run file\u003c/li\u003e\u003cli\u003e[platform.patch](https://bugs.python.org/file27427/platform.patch \"Uploaded as text/plain at 2012-10-04.22:11:28 by @vstinner\")\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = 'https://github.com/jcea'\nclosed_at = \u003cDate 2016-09-09.07:34:22.855\u003e\ncreated_at = \u003cDate 2012-10-02.19:15:16.864\u003e\nlabels = ['type-security', 'library']\ntitle = 'platform.architecture does not correctly escape argument to /usr/bin/file'\nupdated_at = \u003cDate 2016-09-09.07:38:04.571\u003e\nuser = 'https://bugs.python.org/DavidBenjamin'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2016-09-09.07:38:04.571\u003e\nactor = 'vstinner'\nassignee = 'jcea'\nclosed = True\nclosed_date = \u003cDate 2016-09-09.07:34:22.855\u003e\ncloser = 'vstinner'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2012-10-02.19:15:16.864\u003e\ncreator = 'David.Benjamin'\ndependencies = []\nfiles = ['27391', '27427']\nhgrepos = []\nissue_num = 16112\nkeywords = ['patch']\nmessage_count = 36.0\nmessages = ['171825', '171934', '171936', '171937', '171939', '171940', '171942', '171944', '171957', '171982', '171999', '172017', '172021', '172022', '172023', '172024', '172026', '172043', '172044', '172045', '172046', '172047', '172050', '172052', '172055', '172057', '172075', '172085', '172172', '172533', '173265', '275212', '275254', '275278', '275280', '275281']\nnosy_count = 8.0\nnosy_names = ['lemburg', 'jcea', 'pitrou', 'vstinner', 'christian.heimes', 'Arfrever', 'python-dev', 'David.Benjamin']\npr_nums = []\npriority = 'normal'\nresolution = 'fixed'\nstage = 'needs patch'\nstatus = 'closed'\nsuperseder = None\ntype = 'security'\nurl = 'https://bugs.python.org/issue16112'\nversions = ['Python 2.7', 'Python 3.2', 'Python 3.3', 'Python 3.4']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/DavidBenjamin","@type":"Person","name":"DavidBenjamin"},"datePublished":"2012-10-02T19:15:17.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":36},"url":"https://github.com/60316/cpython/issues/60316"}
| 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:94f96ac5-8d48-4390-0dea-6c7d5531aeb2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A42A:1BB425:1ADB22A:246E8C9:6A536A3C |
| html-safe-nonce | 8226721579094d7eea0facb8b06c0835a9c71ea528bbb6312d8dda259746c6cd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDJBOjFCQjQyNToxQURCMjJBOjI0NkU4Qzk6NkE1MzZBM0MiLCJ2aXNpdG9yX2lkIjoiNzU4MjI5MDAzMTU0NjY5MDEwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0d9e5701b9a9854db3227ad8555b25d549ec39f5666daffdf45dabd3ec06b425 |
| hovercard-subject-tag | issue:1198889208 |
| 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/python/cpython/60316/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ac7c82dfaa7aaf045100ae700079225b0fc11d9a0c8cfabea4856c04338a73bc/python/cpython/issues/60316 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ac7c82dfaa7aaf045100ae700079225b0fc11d9a0c8cfabea4856c04338a73bc/python/cpython/issues/60316 |
| og:image:alt | BPO 16112 Nosy @malemburg, @jcea, @pitrou, @vstinner, @tiran Files fix-platform-architecture.patch: Use subprocess instead of os.popen to run fileplatform.patch Note: these values reflect the state... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DavidBenjamin |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width