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:
parent
ef1e2e54c1
commit
7413bc08cf
3 changed files with 4 additions and 1 deletions
|
@ -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/nginx/conf.d/$domain.d/shout.conf
|
||||||
sudo rm -f /etc/systemd/system/shout.service
|
sudo rm -f /etc/systemd/system/shout.service
|
||||||
|
|
||||||
|
sudo userdel shout
|
||||||
|
|
||||||
sudo service nginx reload
|
sudo service nginx reload
|
||||||
sudo yunohost app ssowatconf
|
sudo yunohost app ssowatconf
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||||
<meta name="mobile-web-app-capable" content="yes">
|
<meta name="mobile-web-app-capable" content="yes">
|
||||||
|
<meta name="referrer" content="no-referrer">
|
||||||
|
|
||||||
<title>Shout</title>
|
<title>Shout</title>
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
{{#if thumb}}
|
{{#if thumb}}
|
||||||
<img src="{{thumb}}" class="thumb">
|
<img src="{{thumb}}" class="thumb">
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<div class="head">{{{head}}}</div>
|
<div class="head">{{{parse head}}}</div>
|
||||||
<div class="body">
|
<div class="body">
|
||||||
{{body}}
|
{{body}}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue