Skip navigation

Sanitization helpers

Sanitization helpers: Ruby on Rails 5 Essential Training
Sanitization helpers: Ruby on Rails 5 Essential Training

Ruby on Rails sanitizes output to the view templates by default to prevent cross-site scripting (XSS). This automatic security feature can be bypassed by outputting raw content or by whitelisting content by marking it as html_safe. There are also several helper methods that allow developers to sanitize content on their own, and even to whitelist specific HTML tags or attributes.

Resume Transcript Auto-Scroll
Skill Level Beginner
10h 21m
Duration
303,783
Views
Show More Show Less
Skills covered in this course
Developer Web Web Development Ruby on Rails

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now