Skip to content

Commit

Permalink
fix XSS vector in document body issue in header.qml
Browse files Browse the repository at this point in the history
Change-Id: Icb0981b2aed71f4b7e7d189eea27d5a69ef228e4
Reviewed-on: http://cr.qtquick.me/874
Tested-by: http://ci.qtquick.me/
Tested-by: R Kake <helicalgear@gmail.com>
Reviewed-by: R Kake <helicalgear@gmail.com>
Tested-by: Tasuku Suzuki <stasuku@gmail.com>
Reviewed-by: Tasuku Suzuki <stasuku@gmail.com>
  • Loading branch information
task-jp committed Oct 23, 2014
1 parent ad47a8b commit bbc5d6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contents/root/examples/header.qml
Expand Up @@ -39,10 +39,10 @@ Html {
Repeater {
model: http.requestHeader
Component {
Dt { text: model.key }
Dt { text: Silk.escapeHTML(model.key) }
}
Component {
Dd { text: model.value }
Dd { text: Silk.escapeHTML(model.value) }
}
}
}
Expand Down

0 comments on commit bbc5d6e

Please sign in to comment.