Skip to content

Commit

Permalink
Fixed possible XSS.
Browse files Browse the repository at this point in the history
  • Loading branch information
hschletz committed Feb 19, 2014
1 parent dd9ff33 commit 185ecdc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ CHANGES IN VERSION 0.14

Fixed bugs:

- Console: Fixed possible XSS.

- Console: Fixed fatal error when a locking conflict occurs.


Expand Down
2 changes: 1 addition & 1 deletion application/views/scripts/software/accept.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ print $this->htmlTag(
$this->translate(
'Software \'%s\' will be marked as known and accepted. Continue?'
),
Model_Software::mangleName($this->name)
$this->escape(Model_Software::mangleName($this->name))
)
);

Expand Down
2 changes: 1 addition & 1 deletion application/views/scripts/software/ignore.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ print $this->htmlTag(
$this->translate(
'Software \'%s\' will be no longer be displayed. Continue?'
),
Model_Software::mangleName($this->name)
$this->escape(Model_Software::mangleName($this->name))
)
);

Expand Down

0 comments on commit 185ecdc

Please sign in to comment.