Skip to content

Commit

Permalink
Fix xss in project name on stream
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed May 8, 2014
1 parent 3dcd207 commit b4c3fcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sentry/utils/javascript.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def transform(self, obj, request=None):
'isPublic': obj.is_public,
'score': getattr(obj, 'sort_value', 0),
'project': {
'name': obj.project.name,
'name': escape(obj.project.name),
'slug': obj.project.slug,
},
'version': version,
Expand Down

1 comment on commit b4c3fcf

@tipsyhacker
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! it's already fixed. 👍

Please sign in to comment.