0
0
Fork 0
mirror of https://github.com/lunaisnotaboy/mastodon.git synced 2024-12-25 06:36:45 +00:00

Change verification to only work for https links ()

Fix 
This commit is contained in:
Eugen Rochko 2022-11-10 21:09:03 +01:00 committed by GitHub
parent 9feba112a7
commit c6c7c6223d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@
class Account::Field < ActiveModelSerializers::Model
MAX_CHARACTERS_LOCAL = 255
MAX_CHARACTERS_COMPAT = 2_047
ACCEPTED_SCHEMES = %w(http https).freeze
ACCEPTED_SCHEMES = %w(https).freeze
attributes :name, :value, :verified_at, :account