Skip to content

[v13] refactor how 'tsh scp' destinations are parsed#24860

Merged
capnspacehook merged 1 commit intobranch/v13from
bot/backport-24441-branch/v13
Apr 20, 2023
Merged

[v13] refactor how 'tsh scp' destinations are parsed#24860
capnspacehook merged 1 commit intobranch/v13from
bot/backport-24441-branch/v13

Conversation

@capnspacehook
Copy link
Copy Markdown
Contributor

Backport #24441 to branch/v13.

A complex regex was previously used to parse 'tsh scp'
destinations, which was hard to understand and even harder
to maintain for those not intimately familiar with regex,
despite it being heavily commented. Instead parse destinations
directly and add more test cases and a fuzz test to ensure
parsing won't panic and the new parse function doesn't
have any regressions.
Merged via the queue into branch/v13 with commit f1b838c Apr 20, 2023
@capnspacehook capnspacehook deleted the bot/backport-24441-branch/v13 branch April 20, 2023 14:58
@r0mant r0mant mentioned this pull request Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants