| 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:d79815c0-646b-04b1-b268-4ba40d4da793 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C5C6:3B16A6:76A5B7D:A6EBC26:6A50220A |
| html-safe-nonce | a69d74d666518b63d9dc390e9271303712f110390c08700c5830b8529a4cabca |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNUM2OjNCMTZBNjo3NkE1QjdEOkE2RUJDMjY6NkE1MDIyMEEiLCJ2aXNpdG9yX2lkIjoiNjg1Nzk3NjMwMTM4ODU3MTE0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b47e7787e2503734ff8ef51fcc79c704b0e60e0846387f0c5c7105eef9c9ede7 |
| hovercard-subject-tag | pull_request:1722836268 |
| 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/sqlc-dev/sqlc/3195/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/c4c4f04b1187f8e2699288e2b562f3c089135e28d8052a83d084260ca8f21eb2/sqlc-dev/sqlc/pull/3195 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c4c4f04b1187f8e2699288e2b562f3c089135e28d8052a83d084260ca8f21eb2/sqlc-dev/sqlc/pull/3195 |
| og:image:alt | Verify that output file locations resolve to a path contained in the output directory.
Fixes #3194 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kyleconroy |
| hostname | github.com |
| expected-hostname | github.com |
| None | a08040246389072795e3b4e7b33c6d9a0c564eee02e829a809326d67c418b069 |
| turbo-cache-control | no-cache |
| go-import | github.com/sqlc-dev/sqlc git https://github.com/sqlc-dev/sqlc.git |
| octolytics-dimension-user_id | 136738596 |
| octolytics-dimension-user_login | sqlc-dev |
| octolytics-dimension-repository_id | 193160679 |
| octolytics-dimension-repository_nwo | sqlc-dev/sqlc |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 193160679 |
| octolytics-dimension-repository_network_root_nwo | sqlc-dev/sqlc |
| 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 | d1b91b18e7330fc458dfd824c61eaed7daa830d6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/sqlc-dev/sqlc/pull/3195#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc%2Fpull%2F3195 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| 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 |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| 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/enterprise/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%2Fsqlc-dev%2Fsqlc%2Fpull%2F3195 |
|
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=sqlc-dev%2Fsqlc |
| Reload | https://github.com/sqlc-dev/sqlc/pull/3195 |
| Reload | https://github.com/sqlc-dev/sqlc/pull/3195 |
| Reload | https://github.com/sqlc-dev/sqlc/pull/3195 |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/3195 |
|
sqlc-dev
| https://github.com/sqlc-dev |
| sqlc | https://github.com/sqlc-dev/sqlc |
|
Notifications
| https://github.com/login?return_to=%2Fsqlc-dev%2Fsqlc |
|
Fork
1.1k
| https://github.com/login?return_to=%2Fsqlc-dev%2Fsqlc |
|
Star
18k
| https://github.com/login?return_to=%2Fsqlc-dev%2Fsqlc |
|
Code
| https://github.com/sqlc-dev/sqlc |
|
Issues
597
| https://github.com/sqlc-dev/sqlc/issues |
|
Pull requests
106
| https://github.com/sqlc-dev/sqlc/pulls |
|
Discussions
| https://github.com/sqlc-dev/sqlc/discussions |
|
Actions
| https://github.com/sqlc-dev/sqlc/actions |
|
Projects
| https://github.com/sqlc-dev/sqlc/projects |
|
Security and quality
0
| https://github.com/sqlc-dev/sqlc/security |
|
Insights
| https://github.com/sqlc-dev/sqlc/pulse |
|
Code
| https://github.com/sqlc-dev/sqlc |
|
Issues
| https://github.com/sqlc-dev/sqlc/issues |
|
Pull requests
| https://github.com/sqlc-dev/sqlc/pulls |
|
Discussions
| https://github.com/sqlc-dev/sqlc/discussions |
|
Actions
| https://github.com/sqlc-dev/sqlc/actions |
|
Projects
| https://github.com/sqlc-dev/sqlc/projects |
|
Security and quality
| https://github.com/sqlc-dev/sqlc/security |
|
Insights
| https://github.com/sqlc-dev/sqlc/pulse |
| kyleconroy | https://github.com/kyleconroy |
| main | https://github.com/sqlc-dev/sqlc/tree/main |
| kyle/fix-output-path-traversal | https://github.com/sqlc-dev/sqlc/tree/kyle/fix-output-path-traversal |
| Conversation | https://github.com/sqlc-dev/sqlc/pull/3195 |
| Commits2 (2) | https://github.com/sqlc-dev/sqlc/pull/3195/commits |
| Checks | https://github.com/sqlc-dev/sqlc/pull/3195/checks |
| Files changed | https://github.com/sqlc-dev/sqlc/pull/3195/files |
| fix(generate): First pass at fixing path traversal vuln | https://github.com/sqlc-dev/sqlc/pull/3195#top |
| kyleconroy | https://github.com/kyleconroy |
| main | https://github.com/sqlc-dev/sqlc/tree/main |
| kyle/fix-output-path-traversal | https://github.com/sqlc-dev/sqlc/tree/kyle/fix-output-path-traversal |
|
| https://github.com/kyleconroy |
| kyleconroy | https://github.com/kyleconroy |
| Feb 12, 2024 | https://github.com/sqlc-dev/sqlc/pull/3195#issue-2131129391 |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/3195 |
| #3194 | https://github.com/sqlc-dev/sqlc/issues/3194 |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/3195 |
|
| https://github.com/kyleconroy |
| fix(generate): First pass at fixing path traversal vuln | https://github.com/sqlc-dev/sqlc/pull/3195/commits/aa3235b13227c9af242ca1aeb5353286e1994ff8 |
| aa3235b | https://github.com/sqlc-dev/sqlc/pull/3195/commits/aa3235b13227c9af242ca1aeb5353286e1994ff8 |
| https://github.com/kyleconroy |
| kyleconroy | https://github.com/kyleconroy |
|
Feb 12, 2024
| https://github.com/sqlc-dev/sqlc/pull/3195#ref-issue-2130926850 |
|
Preventing path traversal by plugins?
#3194
| https://github.com/sqlc-dev/sqlc/issues/3194 |
| https://github.com/cbiffle |
| cbiffle | https://github.com/cbiffle |
| Feb 12, 2024 | https://github.com/sqlc-dev/sqlc/pull/3195#issuecomment-1939765593 |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/3195 |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/3195 |
| https://github.com/cbiffle |
| cbiffle | https://github.com/cbiffle |
|
Feb 12, 2024
| https://github.com/sqlc-dev/sqlc/pull/3195#pullrequestreview-1876536080 |
|
View reviewed changes
| https://github.com/sqlc-dev/sqlc/pull/3195/files/aa3235b13227c9af242ca1aeb5353286e1994ff8 |
| internal/cmd/generate.go | https://github.com/sqlc-dev/sqlc/pull/3195/files/aa3235b13227c9af242ca1aeb5353286e1994ff8#diff-2ccbd26a302b29c524a67aa623a57582264d19b24a40646065be500f2e15bbd3 |
| cbiffle | https://github.com/cbiffle |
| Feb 12, 2024 | https://github.com/sqlc-dev/sqlc/pull/3195#discussion_r1486913081 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/3195 |
| kyleconroy | https://github.com/kyleconroy |
| Feb 13, 2024 | https://github.com/sqlc-dev/sqlc/pull/3195#discussion_r1488078996 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/3195 |
| cbiffle | https://github.com/cbiffle |
| Feb 13, 2024 | https://github.com/sqlc-dev/sqlc/pull/3195#discussion_r1488506550 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/3195 |
| https://github.com/kyleconroy |
| kyleconroy | https://github.com/kyleconroy |
| February 14, 2024 16:45 | https://github.com/sqlc-dev/sqlc/pull/3195#event-11804455489 |
|
| https://github.com/kyleconroy |
| Add test | https://github.com/sqlc-dev/sqlc/pull/3195/commits/fc0eb2a7a2a22d9614367402fde40266568dd499 |
| fc0eb2a | https://github.com/sqlc-dev/sqlc/pull/3195/commits/fc0eb2a7a2a22d9614367402fde40266568dd499 |
| https://github.com/kyleconroy |
| kyleconroy | https://github.com/kyleconroy |
| 4314824 | https://github.com/sqlc-dev/sqlc/commit/4314824813c43bd922f8da7e5e5dc5792e697995 |
| Feb 14, 2024 | https://github.com/sqlc-dev/sqlc/pull/3195#event-11806224193 |
| https://github.com/kyleconroy |
| kyleconroy | https://github.com/kyleconroy |
| February 14, 2024 19:40 | https://github.com/sqlc-dev/sqlc/pull/3195#event-11806224359 |
| lisitsky | https://github.com/lisitsky |
|
Jun 21, 2024
| https://github.com/sqlc-dev/sqlc/pull/3195#ref-commit-a8f9dbf |
|
| https://github.com/kyleconroy |
|
| https://github.com/lisitsky |
| fix(generate): Ensure files are created instead output directory ( | https://github.com/lisitsky/sqlc/commit/a8f9dbfb5f54a296e631b00b1c49c0b54cd61b47 |
| sql… | https://github.com/sqlc-dev/sqlc/pull/3195 |
| a8f9dbf | https://github.com/lisitsky/sqlc/commit/a8f9dbfb5f54a296e631b00b1c49c0b54cd61b47 |
| …c-dev#3195 | https://github.com/sqlc-dev/sqlc/pull/3195 |
| alfonsodev | https://github.com/alfonsodev |
|
Oct 13, 2025
| https://github.com/sqlc-dev/sqlc/pull/3195#ref-commit-9fe16be |
|
| https://github.com/kyleconroy |
| fix(generate): Ensure files are created instead output directory ( | https://github.com/ExponentiaTeam/sqlc/commit/9fe16be8e2bb9a5865e1f923df20fb596548cfec |
| sql… | https://github.com/sqlc-dev/sqlc/pull/3195 |
| 9fe16be | https://github.com/ExponentiaTeam/sqlc/commit/9fe16be8e2bb9a5865e1f923df20fb596548cfec |
| …c-dev#3195 | https://github.com/sqlc-dev/sqlc/pull/3195 |
| https://github.co/hiddenchars |
| https://github.com/sqlc-dev/sqlc/pull/{{ revealButtonHref }} |
| 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%2Fsqlc-dev%2Fsqlc%2Fpull%2F3195 |
|
| https://github.com/cbiffle |
|
cbiffle
| https://github.com/cbiffle |
|
| https://github.com/sqlc-dev/sqlc/pull/3195/files/aa3235b13227c9af242ca1aeb5353286e1994ff8 |
|
Preventing path traversal by plugins?
| https://github.com/sqlc-dev/sqlc/issues/3194 |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/3195 |
|
| https://github.com/kyleconroy |
|
| https://github.com/cbiffle |
|
| 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 |