Browse Source

Fix potential private status leak (#10969)

pull/4/head
ThibG 4 years ago
committed by Eugen Rochko
parent
commit
7fa23ec697
1 changed files with 1 additions and 1 deletions
  1. +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

Loading…
Cancel
Save