This commit is contained in:
parent
c1bac2625c
commit
7f766473ab
@ -6,7 +6,7 @@ class WebKeyDirectoryController < WellKnownController
|
||||
if params[:l].blank?
|
||||
# TODO store hashed username in db if existing implementations trigger
|
||||
# this a lot
|
||||
msg = "WKD request with \"l\" param omitted for hu: #{params[:hashed_username]})"
|
||||
msg = "WKD request with \"l\" param omitted for hu: #{params[:hashed_username]}"
|
||||
Sentry.capture_message(msg) if Setting.sentry_enabled?
|
||||
http_status :bad_request and return
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user