1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/thelounge_ynh.git synced 2024-09-03 20:35:54 +02:00

[fix] No referrer + XSS fix + remove user 'shout' at application removal

This commit is contained in:
kload 2015-08-23 10:52:46 +02:00
parent ef1e2e54c1
commit 7413bc08cf
3 changed files with 4 additions and 1 deletions

View file

@ -10,5 +10,7 @@ sudo rm -rf /var/www/shout
sudo rm -f /etc/nginx/conf.d/$domain.d/shout.conf
sudo rm -f /etc/systemd/system/shout.service
sudo userdel shout
sudo service nginx reload
sudo yunohost app ssowatconf

View file

@ -8,6 +8,7 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="mobile-web-app-capable" content="yes">
<meta name="referrer" content="no-referrer">
<title>Shout</title>

View file

@ -9,7 +9,7 @@
{{#if thumb}}
<img src="{{thumb}}" class="thumb">
{{/if}}
<div class="head">{{{head}}}</div>
<div class="head">{{{parse head}}}</div>
<div class="body">
{{body}}
</div>