Skip to content

Do not throw for user paths that contain a quote character in them.#58357

Merged
CyrusNajmabadi merged 1 commit intodotnet:mainfrom
CyrusNajmabadi:sqliteQuotPAth
Dec 16, 2021
Merged

Do not throw for user paths that contain a quote character in them.#58357
CyrusNajmabadi merged 1 commit intodotnet:mainfrom
CyrusNajmabadi:sqliteQuotPAth

Conversation

@CyrusNajmabadi
Copy link
Copy Markdown
Contributor

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner December 15, 2021 22:29
@ghost ghost added the Area-IDE label Dec 15, 2021
// Because instantiating the connection will fail, we will not get back
// a working persistent storage. We are testing a fault recovery code path.
await using (var storage = await GetStorageAsync(solution, faultInjector, throwOnFailure: false))
await using (var storage = await GetStorageAsync(solution, faultInjector: faultInjector, throwOnFailure: false))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i added another optional parameter, and this positional one needed to become named.

@dibarbet
Copy link
Copy Markdown
Member

@CyrusNajmabadi does this need to be taken for servicing / backported? Or is 17.1p3 good enough

@CyrusNajmabadi
Copy link
Copy Markdown
Contributor Author

We've lived with it thsi far. I imagine we don't need servicing. (it's just degraded perf, not any other user visible problem)

@CyrusNajmabadi CyrusNajmabadi merged commit 9e35a98 into dotnet:main Dec 16, 2021
@ghost ghost added this to the Next milestone Dec 16, 2021
@Cosifne Cosifne modified the milestones: Next, 17.1.P3 Jan 5, 2022
@CyrusNajmabadi CyrusNajmabadi deleted the sqliteQuotPAth branch February 18, 2022 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants