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

text_field, text_area and other basic helpers are beeing escaped #21

Open
localguiding opened this issue Jun 19, 2011 · 2 comments
Open

Comments

@localguiding
Copy link

Hi,
Currently some helpers like f.text_field are been escaped, why ?
I have installed erubis before plugin, should I configure erubis to work together with this plugin some way ?
Thanks in advance.

ps: rails 2.3.5

@brendon
Copy link

brendon commented Jun 28, 2011

Seeing this too. I'm hoping I've done something wrong. Any advice? f.label isn't being escaped but f.text_field is. f.check_box isn't.

Weird.

@brendon
Copy link

brendon commented Jun 29, 2011

Very obscure. If you're using mislav's standarista plugin to output HTML tags instead of XHTML then this will trip you up if you haven't upgraded to the latest version of that plugin. I only twigged when I ran the rails_xss tests and noticed that many failed due to the lack of XML style self closing tags in my output. Hope this helps someone else in the future :)

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