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

Consider using the config file in the PR branch rather the in the main repo #10

Open
tobie opened this issue Oct 16, 2017 · 6 comments
Open

Comments

@tobie
Copy link
Owner

tobie commented Oct 16, 2017

The reason this was avoided is that it's just easier to handle from a security perspective. Maybe this can be relaxed as it seems to be confusing people.

@ricea
Copy link

ricea commented Oct 16, 2017

I think this is fine as long as it can be previewed with https://tobie.github.io/pr-preview/config.html.

The security problem I can see is that if a reviewer clicks the "Preview" link without first reviewing the config change they're opening themselves up to XSS attacks.

@tobie
Copy link
Owner Author

tobie commented Oct 16, 2017

I think this is fine as long as it can be previewed with https://tobie.github.io/pr-preview/config.html.

Which right now it can't. :(

@ricea
Copy link

ricea commented Oct 16, 2017

That explains my problem.

@tobie
Copy link
Owner Author

tobie commented Oct 16, 2017

Yeah, apologies. I hadn't thought about the config helper at all. The config helper just shows the raw output of the bikeshed/respec builder. The post-processing happens after that stage, right before uploading the output to S3. I'd need to do the same (or something similar) for the config stuff. Not top of mind right now, tbh.

@ricea
Copy link

ricea commented Oct 16, 2017

Can I test on a branch of the real repository whatwg/streams, or should I just land it on master and see what happens?

@tobie
Copy link
Owner Author

tobie commented Oct 16, 2017

Just land it. And use whatever next PR's on your radar to check it. I'll be able to tweak things on my side without messing up your PR if it doesn't work right away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants