浏览代码

Fix uncaught error when resource param is missing in Webfinger request (#11701)

master^2
Eugen Rochko 4 年前
committed by GitHub
父节点
当前提交
60e684af5f
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      app/controllers/well_known/webfinger_controller.rb

+ 1
- 1
app/controllers/well_known/webfinger_controller.rb 查看文件

@@ -11,7 +11,7 @@ module WellKnown

expires_in 3.days, public: true
render json: @account, serializer: WebfingerSerializer, content_type: 'application/jrd+json'
rescue ActiveRecord::RecordNotFound
rescue ActiveRecord::RecordNotFound, ActionController::ParameterMissing
head 404
end



正在加载...
取消
保存