-
Notifications
You must be signed in to change notification settings - Fork 203
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
Handle ?url query string for css-fixme, #847 #852
Conversation
Looks great! Any feedback, @karlcow? |
@@ -5,6 +5,7 @@ | |||
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | |||
|
|||
import json | |||
import requests |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
Should be OK to merge, only failure on Travis is the one about wrong selector in Github test which is fixed in #851 |
@hallvors can you rebase and fix conflicts before we pull this in, please? |
Is that true? Every browser I tested does the "right" thing here, and if I copy and paste I get unescaped entities (which is what I would expect).
I'd feel a lot better if we just escape all instances of |
(I guess this PR is out of sync with #850, which was just merged -- rebasing against master should help here. These patches still have the inline click handlers, etc.) |
Strange. I'm sure I saw the opposite while testing in Orlando - I'm even sure @karlcow was sitting next to me and saw it too. Had I somehow added a double escaping? :-o |
We're using the Flask templating engine and it's escaping input by default (unless you jump through some hoops to avoid that by passing in Markup class objects or something). So yes, we ended up with a double escape which confused me. |
@miketaylr should be fine to merge now - not sure what the two failures on Travis are about but they are definitely not related to this patch.. |
Ah yeah, that seems confusing, thanks for looking into it. 👍
Looks like the PR failure was a pep8 failure. But I see you've fixed it so the push build passed. Let me just retrigger the PR build then we should be good to merge. |
(oops, was looking at wrong build. yes, unrelated failures indeed) |
Handle ?url query string for css-fixme, #847
No description provided.