Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wptserve] Support .sub. filename w/pipe param #18623

Merged

Conversation

jugglinmike
Copy link
Contributor

The substitution feature may be enabled using a filename pattern
(.sub) or a query string parameter (pipe=sub). Prior to this commit,
the former approach could not be used if any other "pipe" commands were
included in the query string. Update wptserve to interpret the .sub.
filename pattern as though it were expressed as the first "pipe" command
in the query string.

The substitution feature may be enabled using a filename pattern
(`.sub`) or a query string parameter (`pipe=sub`). Prior to this commit,
the former approach could not be used if any other "pipe" commands were
included in the query string. Update wptserve to interpret the `.sub.`
filename pattern as though it were expressed as the first "pipe" command
in the query string.
Copy link
Contributor

@jgraham jgraham left a comment

Choose a reason for hiding this comment

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

I don't love doing this as string manipulation, but I guess it's fine.

@jugglinmike
Copy link
Contributor Author

Thanks for the review!

@jugglinmike jugglinmike merged commit ef77ba9 into web-platform-tests:master Aug 23, 2019
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.

None yet

4 participants