Skip to content

Change regex to match relation-types w/o quotes in Link header - #11711

Merged
Travis Plunk (TravisEz13) merged 5 commits into
PowerShell:masterfrom
Marusyk:marusyk/regex
Jan 31, 2020
Merged

Travis Plunk (TravisEz13) merged 5 commits into
PowerShell:masterfrom
Marusyk:marusyk/regex

Conversation

@Marusyk

@Marusyk Roman Marusyk (Marusyk) commented Jan 28, 2020 •

Copy link
Copy Markdown
Contributor

PR Summary

Change regex to match relation-types without quotes in Link header.

PR Context

Fixes #11629

PR Checklist

Please review,
Thank you in advance

@iSazonov
Ilya (iSazonov) self-requested a review January 29, 2020 07:34
@TravisEz13 Travis Plunk (TravisEz13) added the CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log label Jan 29, 2020

@TravisEz13 Travis Plunk (TravisEz13) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please fix tests failures and address Ilya (@iSazonov) 's comments

@ghost ghost added the Waiting on Author The PR was reviewed and requires changes or comments from the author before being accept label Jan 29, 2020
@ghost ghost removed the Waiting on Author The PR was reviewed and requires changes or comments from the author before being accept label Jan 29, 2020
@TravisEz13

Copy link
Copy Markdown
Member

It would be good to add a tests to make sure this doesn't regress

@iSazonov

Copy link
Copy Markdown
Collaborator

Travis Plunk (@TravisEz13) I do not find how we could add the test. We use AspNetCore for test and AspNetCore sends the header as-is.

@TravisEz13

Copy link
Copy Markdown
Member

Ilya (@iSazonov) Thanks for the explanation.

@TravisEz13 Travis Plunk (TravisEz13) changed the title Change regex to match relation-types without quotes in Link header Change regex to match relation-types w/o quotes in Link header Jan 31, 2020
@TravisEz13
Travis Plunk (TravisEz13) merged commit 0eaa41b into PowerShell:master Jan 31, 2020
@Marusyk
Roman Marusyk (Marusyk) deleted the marusyk/regex branch January 31, 2020 22:44
@iSazonov

Copy link
Copy Markdown
Collaborator

Roman Marusyk (@Marusyk) Thanks for your contribution.

@Marusyk

Copy link
Copy Markdown
Contributor Author

Thanks for review and help

@ghost

Copy link
Copy Markdown

🎉v7.1.0-preview.1 has been released which incorporates this pull request.:tada:

Handy links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

-FollowRelLink does not work if Link header uses rel=next (no quotes) instead of rel="next"

3 participants