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

Add "quotes_allowed" boolean option to $MESSAGE #1500

Open
Hainish opened this issue Nov 1, 2015 · 2 comments
Open

Add "quotes_allowed" boolean option to $MESSAGE #1500

Hainish opened this issue Nov 1, 2015 · 2 comments

Comments

@Hainish
Copy link
Contributor

Hainish commented Nov 1, 2015

Some members do not allow quotes in the message body, viewing it as a potential security risk for the form:

https://github.com/unitedstates/contact-congress/blob/master/members/S000320.yaml

I propose we amend the spec to allow for an additional option for $MESSAGE fields named "quotes_allowed", with a boolean value. We can then use this value in implementations to remove quotes or replace them with something else.

@j-ro
Copy link
Contributor

j-ro commented Nov 1, 2015

I'd rather use javascript. There are lots of things that are filtered -- urls (sometimes), quotes (sometimes), it's all a bit fuzzy and tends to change a lot. I think the javascript command would make this easy, if you want to do it that way, and allows us to be more flexible.

@j-ro
Copy link
Contributor

j-ro commented Nov 12, 2015

see #1506 for a fix for this in javascript

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