René's URL Explorer Experiment


Title: `ConvertTo-Csv`: Quote fields with quotes and newlines when using `-UseQuotes AsNeeded` by lselden · Pull Request #15765 · PowerShell/PowerShell · GitHub

Open Graph Title: `ConvertTo-Csv`: Quote fields with quotes and newlines when using `-UseQuotes AsNeeded` by lselden · Pull Request #15765 · PowerShell/PowerShell

X Title: `ConvertTo-Csv`: Quote fields with quotes and newlines when using `-UseQuotes AsNeeded` by lselden · Pull Request #15765 · PowerShell/PowerShell

Description: PowerShell for every system! Contribute to PowerShell/PowerShell development by creating an account on GitHub.

Open Graph Description: Fix for issue #9284 - Escape fields that contain quotes and newlines, not just those that contain the delimiter PR Summary This PR fixes the case of CSV fields that include double quotes or newline...

X Description: Fix for issue #9284 - Escape fields that contain quotes and newlines, not just those that contain the delimiter PR Summary This PR fixes the case of CSV fields that include double quotes or newline...

Opengraph URL: https://github.com/PowerShell/PowerShell/pull/15765

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/*id(.:format)
route-controllerpull_requests
route-actionshow
fetch-noncev2:99578de0-9f13-08a3-0dad-a9ccc4e6282c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE84C:13D878:2B66C38:379CBF3:6991CCEC
html-safe-nonce7540abc05e902c90eb183682b9e9feaaf4efd4f998197c1f3f2efa74dc5a605a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODRDOjEzRDg3ODoyQjY2QzM4OjM3OUNCRjM6Njk5MUNDRUMiLCJ2aXNpdG9yX2lkIjoiOTA3NDgwODAyNDY0MDYzODE4OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac08aa787a91bebd994be92511db045a01c5b15895d0a9153fabf7236cf088a4ef
hovercard-subject-tagpull_request:688462340
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///pull_requests/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/PowerShell/PowerShell/pull/15765
twitter:imagehttps://opengraph.githubassets.com/969459de6a196ae725a9ad1b6800e0450d468a6038c09f8317769bff01eab1cf/PowerShell/PowerShell/pull/15765
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/969459de6a196ae725a9ad1b6800e0450d468a6038c09f8317769bff01eab1cf/PowerShell/PowerShell/pull/15765
og:image:altFix for issue #9284 - Escape fields that contain quotes and newlines, not just those that contain the delimiter PR Summary This PR fixes the case of CSV fields that include double quotes or newline...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelselden
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
turbo-cache-controlno-cache
go-importgithub.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id49609581
octolytics-dimension-repository_nwoPowerShell/PowerShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49609581
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell
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
release848bc6032dcc93a9a7301dcc3f379a72ba13b96e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/pull/15765#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F15765
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2FPowerShell%2FPowerShell%2Fpull%2F15765
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%2Fpull_requests%2Fshow&source=header-repo&source_repo=PowerShell%2FPowerShell
Reloadhttps://github.com/PowerShell/PowerShell/pull/15765
Reloadhttps://github.com/PowerShell/PowerShell/pull/15765
Reloadhttps://github.com/PowerShell/PowerShell/pull/15765
PowerShell https://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Notifications https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Fork 8.2k https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Star 51.4k https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Code https://github.com/PowerShell/PowerShell
Issues 1.2k https://github.com/PowerShell/PowerShell/issues
Pull requests 215 https://github.com/PowerShell/PowerShell/pulls
Discussions https://github.com/PowerShell/PowerShell/discussions
Actions https://github.com/PowerShell/PowerShell/actions
Projects 7 https://github.com/PowerShell/PowerShell/projects
Security 3 https://github.com/PowerShell/PowerShell/security
Insights https://github.com/PowerShell/PowerShell/pulse
Code https://github.com/PowerShell/PowerShell
Issues https://github.com/PowerShell/PowerShell/issues
Pull requests https://github.com/PowerShell/PowerShell/pulls
Discussions https://github.com/PowerShell/PowerShell/discussions
Actions https://github.com/PowerShell/PowerShell/actions
Projects https://github.com/PowerShell/PowerShell/projects
Security https://github.com/PowerShell/PowerShell/security
Insights https://github.com/PowerShell/PowerShell/pulse
TravisEz13https://github.com/TravisEz13
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
lselden:csv-usequotes-asneeded-rfc4180-compathttps://github.com/lselden/PowerShell/tree/csv-usequotes-asneeded-rfc4180-compat
Conversationhttps://github.com/PowerShell/PowerShell/pull/15765
Commits5 (5)https://github.com/PowerShell/PowerShell/pull/15765/commits
Checkshttps://github.com/PowerShell/PowerShell/pull/15765/checks
Files changedhttps://github.com/PowerShell/PowerShell/pull/15765/files
ConvertTo-Csv: Quote fields with quotes and newlines when using -UseQuotes AsNeededhttps://github.com/PowerShell/PowerShell/pull/15765#top
TravisEz13https://github.com/TravisEz13
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
lselden:csv-usequotes-asneeded-rfc4180-compathttps://github.com/lselden/PowerShell/tree/csv-usequotes-asneeded-rfc4180-compat
https://github.com/lselden
lseldenhttps://github.com/lselden
Jul 13, 2021https://github.com/PowerShell/PowerShell/pull/15765#issue-942768535
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15765
#9284https://github.com/PowerShell/PowerShell/issues/9284
RFC-4180 ruleshttps://datatracker.ietf.org/doc/html/rfc4180#section-2
PR has a meaningful titlehttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Summarized changeshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright headerhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Work in Progresshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress
Breaking changeshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes
Experimental feature(s) neededhttps://github.com/MicrosoftDocs/PowerShell-Docs/blob/staging/reference/6/Microsoft.PowerShell.Core/About/about_Experimental_Features.md
Documentation neededhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
7796https://github.com/MicrosoftDocs/PowerShell-Docs/issues/7796
Make sure you've added a new test if existing tests do not effectively test the code changedhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting
PowerShell Editor Serviceshttps://github.com/PowerShell/PowerShellEditorServices
PowerShell extensionhttps://github.com/PowerShell/vscode-powershell
PSScriptAnalyzerhttps://github.com/PowerShell/PSScriptAnalyzer
EditorSyntaxhttps://github.com/PowerShell/EditorSyntax
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15765
https://github.com/lukeselden
Escape quotes and newlines with -UseQuotes AsNeededhttps://github.com/PowerShell/PowerShell/pull/15765/commits/34e3ca61b68a639083712981a72d4bba5b5f7716
34e3ca6https://github.com/PowerShell/PowerShell/pull/15765/commits/34e3ca61b68a639083712981a72d4bba5b5f7716
PowerShell#9284https://github.com/PowerShell/PowerShell/issues/9284
TravisEz13https://github.com/TravisEz13
Jul 13, 2021https://github.com/PowerShell/PowerShell/pull/15765#event-5011272788
https://github.com/ghost
ghosthttps://github.com/ghost
Jul 13, 2021https://github.com/PowerShell/PowerShell/pull/15765#issuecomment-878789865
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15765
https://cla.opensource.microsoft.com/PowerShell/PowerShell?pullRequest=15765
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15765
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
Jul 13, 2021 https://github.com/PowerShell/PowerShell/pull/15765#pullrequestreview-704759604
View reviewed changes https://github.com/PowerShell/PowerShell/pull/15765/files/34e3ca61b68a639083712981a72d4bba5b5f7716
iSazonovhttps://github.com/iSazonov
https://github.com/PowerShell/PowerShell/pull/15765#pullrequestreview-704759604
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15765
src/Microsoft.PowerShell.Commands.Utility/commands/utility/CsvCommands.cshttps://github.com/PowerShell/PowerShell/pull/15765/files/34e3ca61b68a639083712981a72d4bba5b5f7716#diff-2b77454e7d234e46e6ebdb6c1be4ac0cb9c02b88bbe0e61c9acdfa3f66491e81
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15765
https://github.com/lukeselden
add additional -UseQuotes AsNeeded testshttps://github.com/PowerShell/PowerShell/pull/15765/commits/c712df9199858563923f532c6305bf3232759053
c712df9https://github.com/PowerShell/PowerShell/pull/15765/commits/c712df9199858563923f532c6305bf3232759053
https://github.com/lselden
lseldenhttps://github.com/lselden
Jul 13, 2021https://github.com/PowerShell/PowerShell/pull/15765#issuecomment-879222365
additional testshttps://github.com/PowerShell/PowerShell/pull/15765/commits/c712df9199858563923f532c6305bf3232759053
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15765
lukeseldenhttps://github.com/lukeselden
July 13, 2021 12:24https://github.com/PowerShell/PowerShell/pull/15765#commits-pushed-15200e4
https://github.com/lukeselden
Code Quality cleanup per codefactor reviewhttps://github.com/PowerShell/PowerShell/pull/15765/commits/15200e4bba5e659e7692ac9899c1cee2ece9e41a
15200e4https://github.com/PowerShell/PowerShell/pull/15765/commits/15200e4bba5e659e7692ac9899c1cee2ece9e41a
https://github.com/lukeselden
inline AsNeeded character detectionhttps://github.com/PowerShell/PowerShell/pull/15765/commits/4832f43b91128e700b131a969c052e800ef6549f
4832f43https://github.com/PowerShell/PowerShell/pull/15765/commits/4832f43b91128e700b131a969c052e800ef6549f
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
CL-General https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-General
Jul 13, 2021https://github.com/PowerShell/PowerShell/pull/15765#event-5015810662
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
Jul 14, 2021 https://github.com/PowerShell/PowerShell/pull/15765#pullrequestreview-706531803
View reviewed changes https://github.com/PowerShell/PowerShell/pull/15765/files/4832f43b91128e700b131a969c052e800ef6549f
test/powershell/Modules/Microsoft.PowerShell.Utility/ConvertTo-Csv.Tests.ps1https://github.com/PowerShell/PowerShell/pull/15765/files/4832f43b91128e700b131a969c052e800ef6549f#diff-5a2f3121e60bf233dd20d16d456ee6c8ec2482612ac75ce9ce903206708ae928
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15765
test/powershell/Modules/Microsoft.PowerShell.Utility/ConvertTo-Csv.Tests.ps1https://github.com/PowerShell/PowerShell/pull/15765/files/4832f43b91128e700b131a969c052e800ef6549f#diff-5a2f3121e60bf233dd20d16d456ee6c8ec2482612ac75ce9ce903206708ae928
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15765
test/powershell/Modules/Microsoft.PowerShell.Utility/ConvertTo-Csv.Tests.ps1https://github.com/PowerShell/PowerShell/pull/15765/files/4832f43b91128e700b131a969c052e800ef6549f#diff-5a2f3121e60bf233dd20d16d456ee6c8ec2482612ac75ce9ce903206708ae928
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15765
https://github.com/lselden
https://github.com/iSazonov
Apply suggestions from code reviewhttps://github.com/PowerShell/PowerShell/pull/15765/commits/a9f296f793876aa6eecccd31843b5562b7645b53
a9f296fhttps://github.com/PowerShell/PowerShell/pull/15765/commits/a9f296f793876aa6eecccd31843b5562b7645b53
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
Jul 15, 2021 https://github.com/PowerShell/PowerShell/pull/15765#pullrequestreview-706910683
View reviewed changes https://github.com/PowerShell/PowerShell/pull/15765/files/a9f296f793876aa6eecccd31843b5562b7645b53
https://github.com/sdwheeler
sdwheelerhttps://github.com/sdwheeler
Jul 22, 2021 https://github.com/PowerShell/PowerShell/pull/15765#ref-issue-942772647
ConvertTo-Csv / Export-Csv: Update -UseQuotes AsNeeded MicrosoftDocs/PowerShell-Docs#7796 https://github.com/MicrosoftDocs/PowerShell-Docs/issues/7796
Review - Needed https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Review%20-%20Needed%22
Jul 22, 2021https://github.com/PowerShell/PowerShell/pull/15765#event-5055874255
https://github.com/ghost
ghosthttps://github.com/ghost
Jul 22, 2021https://github.com/PowerShell/PowerShell/pull/15765#issuecomment-884936383
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15765
https://github.com/TravisEz13
TravisEz13https://github.com/TravisEz13
Aug 4, 2021 https://github.com/PowerShell/PowerShell/pull/15765#pullrequestreview-722767211
View reviewed changes https://github.com/PowerShell/PowerShell/pull/15765/files/a9f296f793876aa6eecccd31843b5562b7645b53
https://github.com/TravisEz13
TravisEz13https://github.com/TravisEz13
Aug 4, 2021https://github.com/PowerShell/PowerShell/pull/15765#event-5113948981
https://github.com/TravisEz13
TravisEz13https://github.com/TravisEz13
3e86f9bhttps://github.com/PowerShell/PowerShell/commit/3e86f9b28777cbca85ee9c25255a1a212475583b
Aug 4, 2021https://github.com/PowerShell/PowerShell/pull/15765#event-5113949052
Review - Needed https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Review%20-%20Needed%22
Aug 4, 2021https://github.com/PowerShell/PowerShell/pull/15765#event-5113949288
https://github.com/TravisEz13
TravisEz13https://github.com/TravisEz13
7.2.0-preview.9https://github.com/PowerShell/PowerShell/milestone/110
Aug 4, 2021https://github.com/PowerShell/PowerShell/pull/15765#event-5113949852
https://github.com/lselden
lseldenhttps://github.com/lselden
August 11, 2021 13:19https://github.com/PowerShell/PowerShell/pull/15765#event-5142127979
https://github.com/ghost
ghosthttps://github.com/ghost
Aug 23, 2021https://github.com/PowerShell/PowerShell/pull/15765#issuecomment-904015000
Release Noteshttps://github.com/PowerShell/PowerShell/releases/tag/v7.2.0-preview.9
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15765
https://github.com/ghost
ghosthttps://github.com/ghost
Sep 28, 2021https://github.com/PowerShell/PowerShell/pull/15765#issuecomment-929692426
Release Noteshttps://github.com/PowerShell/PowerShell/releases/tag/v7.2.0-preview.10
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15765
https://github.co/hiddenchars
https://github.com/PowerShell/PowerShell/pull/{{ 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%2FPowerShell%2FPowerShell%2Fpull%2F15765
https://github.com/TravisEz13
TravisEz13 https://github.com/TravisEz13
https://github.com/PowerShell/PowerShell/pull/15765/files/a9f296f793876aa6eecccd31843b5562b7645b53
https://github.com/iSazonov
iSazonov https://github.com/iSazonov
https://github.com/PowerShell/PowerShell/pull/15765/files/a9f296f793876aa6eecccd31843b5562b7645b53
https://github.com/TravisEz13
TravisEz13 https://github.com/TravisEz13
CL-General https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-General
7.2.0-preview.9 https://github.com/PowerShell/PowerShell/milestone/110
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/15765
https://github.com/lselden
https://github.com/TravisEz13
https://github.com/iSazonov
https://github.com/lukeselden
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.