tosdr/browser-extensions

Escape service name in li element

Closed this issue · 1 comments

See

$('.tosdr-points').append($('<li>', { id: `popup-point-${service.name}-${p.id}`, class: 'point' }));
- although service.name and p.id come from our database, let's keep them unescaped in the database, and then escape those strings here.

Thanks to Xena from Firefox extension review for reporting this!

Fixed in 89e5689