This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Fix potential private status leak (
#10969
)
pull/4/head
ThibG
4 years ago
committed by
Eugen Rochko
parent
d34a3a2cc7
commit
7fa23ec697
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/controllers/statuses_controller.rb
+ 1
- 1
app/controllers/statuses_controller.rb
View File
@ -27,7 +27,7 @@ class StatusesController < ApplicationController
def
show
respond_to
do
|
format
|
format
.
html
do
unless
user_signed_in
?
if
current_account
.
nil
?
skip_session!
expires_in
10
.
seconds
,
public
:
true
end
Write
Preview
Loading…
Cancel
Save