| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:8d7357de-6259-8bd1-4200-6e3a78b95547 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8556:15FF28:208DB0E:2DC6A16:696A5D34 |
| html-safe-nonce | 73fc1a276daef28fa28e23e5ca68e2f21eb60b9d2a905bb281ce620caa76f4a4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTU2OjE1RkYyODoyMDhEQjBFOjJEQzZBMTY6Njk2QTVEMzQiLCJ2aXNpdG9yX2lkIjoiNTUxODI2OTM4MzQ4Mjk1NzEwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c7d8acf7d89b2e4c02b8f65df566325dc6befa8d1be916898c334d43fbab3926 |
| hovercard-subject-tag | pull_request:1835558725 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/gitpython-developers/GitPython/1908/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/6a3955132ceeed66420f1ec30bee0544e53e8f1ddbad84380b21bf6566e680c0/gitpython-developers/GitPython/pull/1908 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6a3955132ceeed66420f1ec30bee0544e53e8f1ddbad84380b21bf6566e680c0/gitpython-developers/GitPython/pull/1908 |
| og:image:alt | Fixes: #1887
Improve the guarding if check in GitConfigParser's string_decode function to safely handle empty strings and prevent IndexErrors when accessing string elements.
This resolves an In... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DaveLak |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef |
| turbo-cache-control | no-preview |
| go-import | github.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git |
| octolytics-dimension-user_id | 503709 |
| octolytics-dimension-user_login | gitpython-developers |
| octolytics-dimension-repository_id | 1126087 |
| octolytics-dimension-repository_nwo | gitpython-developers/GitPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1126087 |
| octolytics-dimension-repository_network_root_nwo | gitpython-developers/GitPython |
| 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 | 63c426b30d262aba269ef14c40e3c817b384cd61 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/gitpython-developers/GitPython/pull/1908#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fpull%2F1908 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2Fgitpython-developers%2FGitPython%2Fpull%2F1908 |
|
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=gitpython-developers%2FGitPython |
| Reload | https://github.com/gitpython-developers/GitPython/pull/1908 |
| Reload | https://github.com/gitpython-developers/GitPython/pull/1908 |
| Reload | https://github.com/gitpython-developers/GitPython/pull/1908 |
|
gitpython-developers
| https://github.com/gitpython-developers |
| GitPython | https://github.com/gitpython-developers/GitPython |
| Please reload this page | https://github.com/gitpython-developers/GitPython/pull/1908 |
|
Notifications
| https://github.com/login?return_to=%2Fgitpython-developers%2FGitPython |
|
Fork
964
| https://github.com/login?return_to=%2Fgitpython-developers%2FGitPython |
|
Star
5k
| https://github.com/login?return_to=%2Fgitpython-developers%2FGitPython |
|
Code
| https://github.com/gitpython-developers/GitPython |
|
Issues
169
| https://github.com/gitpython-developers/GitPython/issues |
|
Pull requests
8
| https://github.com/gitpython-developers/GitPython/pulls |
|
Discussions
| https://github.com/gitpython-developers/GitPython/discussions |
|
Actions
| https://github.com/gitpython-developers/GitPython/actions |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/gitpython-developers/GitPython/security |
| Please reload this page | https://github.com/gitpython-developers/GitPython/pull/1908 |
|
Insights
| https://github.com/gitpython-developers/GitPython/pulse |
|
Code
| https://github.com/gitpython-developers/GitPython |
|
Issues
| https://github.com/gitpython-developers/GitPython/issues |
|
Pull requests
| https://github.com/gitpython-developers/GitPython/pulls |
|
Discussions
| https://github.com/gitpython-developers/GitPython/discussions |
|
Actions
| https://github.com/gitpython-developers/GitPython/actions |
|
Security
| https://github.com/gitpython-developers/GitPython/security |
|
Insights
| https://github.com/gitpython-developers/GitPython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fgitpython-developers%2FGitPython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fgitpython-developers%2FGitPython%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/gitpython-developers/GitPython/pull/1908#issue-comment-box |
| Byron | https://github.com/Byron |
| gitpython-developers:main | https://github.com/gitpython-developers/GitPython/tree/main |
| DaveLak:fix-issue-1887 | https://github.com/DaveLak/GitPython/tree/fix-issue-1887 |
|
Fix IndexError in GitConfigParser When a Quoted Config Value Contains a Trailing New Line
| https://github.com/gitpython-developers/GitPython/pull/1908#top |
| Byron | https://github.com/Byron |
| gitpython-developers:main | https://github.com/gitpython-developers/GitPython/tree/main |
| DaveLak:fix-issue-1887 | https://github.com/DaveLak/GitPython/tree/fix-issue-1887 |
|
Conversation
13
| https://github.com/gitpython-developers/GitPython/pull/1908 |
|
Commits
3
| https://github.com/gitpython-developers/GitPython/pull/1908/commits |
|
Checks
0
| https://github.com/gitpython-developers/GitPython/pull/1908/checks |
|
Files changed
3
| https://github.com/gitpython-developers/GitPython/pull/1908/files |
| https://github.co/hiddenchars |
| https://github.com/gitpython-developers/GitPython/pull/{{ revealButtonHref }} |
|
| https://github.com/DaveLak |
| DaveLak | https://github.com/DaveLak |
| Apr 22, 2024 | https://github.com/gitpython-developers/GitPython/pull/1908#issue-2257597339 |
| #1887 | https://github.com/gitpython-developers/GitPython/issues/1887 |
| Please reload this page | https://github.com/gitpython-developers/GitPython/pull/1908 |
| https://github.com/DaveLak |
| DaveLak | https://github.com/DaveLak |
| force-pushed | https://github.com/gitpython-developers/GitPython/compare/b6980a0f6dc24f7dc885d324c6b4ae56ad1139af..f6174e753b146d78e40d8d49585819003dd31d5d |
| b6980a0 | https://github.com/gitpython-developers/GitPython/commit/b6980a0f6dc24f7dc885d324c6b4ae56ad1139af |
| f6174e7 | https://github.com/gitpython-developers/GitPython/commit/f6174e753b146d78e40d8d49585819003dd31d5d |
|
Compare
| https://github.com/gitpython-developers/GitPython/compare/b6980a0f6dc24f7dc885d324c6b4ae56ad1139af..f6174e753b146d78e40d8d49585819003dd31d5d |
| April 22, 2024 22:59 | https://github.com/gitpython-developers/GitPython/pull/1908#event-12566745513 |
| https://github.com/DaveLak |
| DaveLak | https://github.com/DaveLak |
|
Apr 22, 2024
| https://github.com/gitpython-developers/GitPython/pull/1908#ref-issue-2216638669 |
|
Unhandled IndexError when calling .read() on a malformed config file
#1887
| https://github.com/gitpython-developers/GitPython/issues/1887 |
|
| https://github.com/DaveLak |
| Fix IndexError in GitConfigParser when config value ends in new line | https://github.com/gitpython-developers/GitPython/pull/1908/commits/47e5738074e7f9acfb64d164206770bbd41685a0 |
| 47e5738 | https://github.com/gitpython-developers/GitPython/pull/1908/commits/47e5738074e7f9acfb64d164206770bbd41685a0 |
| gitpython-developers#1887 | https://github.com/gitpython-developers/GitPython/issues/1887 |
| https://github.com/DaveLak |
| DaveLak | https://github.com/DaveLak |
| force-pushed | https://github.com/gitpython-developers/GitPython/compare/f6174e753b146d78e40d8d49585819003dd31d5d..47e5738074e7f9acfb64d164206770bbd41685a0 |
| f6174e7 | https://github.com/gitpython-developers/GitPython/commit/f6174e753b146d78e40d8d49585819003dd31d5d |
| 47e5738 | https://github.com/gitpython-developers/GitPython/commit/47e5738074e7f9acfb64d164206770bbd41685a0 |
|
Compare
| https://github.com/gitpython-developers/GitPython/compare/f6174e753b146d78e40d8d49585819003dd31d5d..47e5738074e7f9acfb64d164206770bbd41685a0 |
| April 22, 2024 23:20 | https://github.com/gitpython-developers/GitPython/pull/1908#event-12566884145 |
| https://github.com/DaveLak |
| DaveLak | https://github.com/DaveLak |
|
Apr 22, 2024
| https://github.com/gitpython-developers/GitPython/pull/1908#pullrequestreview-2015952601 |
|
View reviewed changes
| https://github.com/gitpython-developers/GitPython/pull/1908/files/47e5738074e7f9acfb64d164206770bbd41685a0 |
| fuzzing/fuzz-targets/fuzz_config.py | https://github.com/gitpython-developers/GitPython/pull/1908/files/47e5738074e7f9acfb64d164206770bbd41685a0#diff-4bc4e633a42f190da426a2988ab535169e6e88a7beeb7ccfbf52e68be97501ec |
| Please reload this page | https://github.com/gitpython-developers/GitPython/pull/1908 |
| https://github.com/Byron |
| Byron | https://github.com/Byron |
|
Apr 23, 2024
| https://github.com/gitpython-developers/GitPython/pull/1908#pullrequestreview-2016331045 |
|
View reviewed changes
| https://github.com/gitpython-developers/GitPython/pull/1908/files/47e5738074e7f9acfb64d164206770bbd41685a0 |
| Byron | https://github.com/Byron |
| https://github.com/gitpython-developers/GitPython/pull/1908#pullrequestreview-2016331045 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/gitpython-developers/GitPython/pull/1908 |
| fuzzing/fuzz-targets/fuzz_config.py | https://github.com/gitpython-developers/GitPython/pull/1908/files/47e5738074e7f9acfb64d164206770bbd41685a0#diff-4bc4e633a42f190da426a2988ab535169e6e88a7beeb7ccfbf52e68be97501ec |
| Please reload this page | https://github.com/gitpython-developers/GitPython/pull/1908 |
| fuzzing/fuzz-targets/fuzz_config.py | https://github.com/gitpython-developers/GitPython/pull/1908/files/47e5738074e7f9acfb64d164206770bbd41685a0#diff-4bc4e633a42f190da426a2988ab535169e6e88a7beeb7ccfbf52e68be97501ec |
| Please reload this page | https://github.com/gitpython-developers/GitPython/pull/1908 |
|
| https://github.com/Byron |
| Avoid unnecessary isinstance check | https://github.com/gitpython-developers/GitPython/pull/1908/commits/c2283f6e3566606300f64c44a12197f0b65f0d71 |
| c2283f6 | https://github.com/gitpython-developers/GitPython/pull/1908/commits/c2283f6e3566606300f64c44a12197f0b65f0d71 |
| https://github.com/EliahKagan |
| EliahKagan | https://github.com/EliahKagan |
|
Apr 25, 2024
| https://github.com/gitpython-developers/GitPython/pull/1908#pullrequestreview-2023712617 |
|
View reviewed changes
| https://github.com/gitpython-developers/GitPython/pull/1908/files/c2283f6e3566606300f64c44a12197f0b65f0d71 |
| EliahKagan | https://github.com/EliahKagan |
| https://github.com/gitpython-developers/GitPython/pull/1908#pullrequestreview-2023712617 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/gitpython-developers/GitPython/pull/1908 |
| git/config.py | https://github.com/gitpython-developers/GitPython/pull/1908/files/c2283f6e3566606300f64c44a12197f0b65f0d71#diff-dd51b67c435dfba6f72cc0d08f99456393556623a0f098ac2808d1a7cb78d53a |
| Please reload this page | https://github.com/gitpython-developers/GitPython/pull/1908 |
|
| https://github.com/Byron |
| Use endswith() for more clarity | https://github.com/gitpython-developers/GitPython/pull/1908/commits/1a0ab5bbdaa9df5d04d1b6946af419492b650fce |
| 1a0ab5b | https://github.com/gitpython-developers/GitPython/pull/1908/commits/1a0ab5bbdaa9df5d04d1b6946af419492b650fce |
| https://github.com/Byron |
| Byron | https://github.com/Byron |
| Apr 26, 2024 | https://github.com/gitpython-developers/GitPython/pull/1908#issuecomment-2078650692 |
| Please reload this page | https://github.com/gitpython-developers/GitPython/pull/1908 |
| https://github.com/Byron |
| Byron | https://github.com/Byron |
| 82bb3bb | https://github.com/gitpython-developers/GitPython/commit/82bb3bb82c0255d9f6250a88fddfaff3bc084b49 |
| Apr 26, 2024 | https://github.com/gitpython-developers/GitPython/pull/1908#event-12618789302 |
| https://github.com/EliahKagan |
| EliahKagan | https://github.com/EliahKagan |
|
Apr 26, 2024
| https://github.com/gitpython-developers/GitPython/pull/1908#pullrequestreview-2024163337 |
|
View reviewed changes
| https://github.com/gitpython-developers/GitPython/pull/1908/files/1a0ab5bbdaa9df5d04d1b6946af419492b650fce |
| git/config.py | https://github.com/gitpython-developers/GitPython/pull/1908/files/1a0ab5bbdaa9df5d04d1b6946af419492b650fce#diff-dd51b67c435dfba6f72cc0d08f99456393556623a0f098ac2808d1a7cb78d53a |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fpull%2F1908 |
| Please reload this page | https://github.com/gitpython-developers/GitPython/pull/1908 |
| EliahKagan | https://github.com/EliahKagan |
| Apr 26, 2024 | https://github.com/gitpython-developers/GitPython/pull/1908#discussion_r1580501225 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| that comment | https://github.com/gitpython-developers/GitPython/pull/1908#discussion_r1580488620 |
| Please reload this page | https://github.com/gitpython-developers/GitPython/pull/1908 |
| Byron | https://github.com/Byron |
| Apr 26, 2024 | https://github.com/gitpython-developers/GitPython/pull/1908#discussion_r1580524203 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/gitpython-developers/GitPython/pull/1908 |
| https://github.com/DaveLak |
| DaveLak | https://github.com/DaveLak |
| April 29, 2024 00:34 | https://github.com/gitpython-developers/GitPython/pull/1908#event-12636414108 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgitpython-developers%2FGitPython%2Fpull%2F1908 |
|
| https://github.com/Byron |
|
Byron
| https://github.com/Byron |
|
| https://github.com/gitpython-developers/GitPython/pull/1908/files/1a0ab5bbdaa9df5d04d1b6946af419492b650fce |
|
| https://github.com/EliahKagan |
|
EliahKagan
| https://github.com/EliahKagan |
|
| https://github.com/gitpython-developers/GitPython/pull/1908/files/c2283f6e3566606300f64c44a12197f0b65f0d71 |
|
Unhandled IndexError when calling .read() on a malformed config file
| https://github.com/gitpython-developers/GitPython/issues/1887 |
| Please reload this page | https://github.com/gitpython-developers/GitPython/pull/1908 |
|
| https://github.com/DaveLak |
|
| https://github.com/Byron |
|
| https://github.com/EliahKagan |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |