mirror of
https://github.com/MichaelCade/90DaysOfDevOps.git
synced 2025-02-03 12:55:46 +07:00
Add Day 6 - Hands-On: Building a weak app
This commit is contained in:
parent
bfc931d402
commit
f6ee8ceebd
@ -184,10 +184,6 @@ Now edit app/views/bootcamps/show.html.erb and make the description field a raw
|
||||
<%=raw @bootcamp.description %>
|
||||
</p>
|
||||
```
|
||||
I recorded the steps to get to this point below. Hopefully this renders well, something I found GitHub now supports is embedding videos into markdown. (pretty cool!)
|
||||
|
||||
![](images\day06-stage1-creatingapp.mp4)
|
||||
|
||||
Now why this is all relevant is that using raw in the description field means that this field now becomes a potential XSS target. Or cross-site scripting.
|
||||
|
||||
This can be explained better with a video [What is Cross-Site Scripting?](https://youtu.be/DxsmEXicXEE)
|
||||
|
Loading…
Reference in New Issue
Block a user