gearheads
/
mastodon
Archived
2
0
Fork 0

Change verification to only work for https links (#20304)

Fix #20242
gh/stable
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
1 changed files with 1 additions and 1 deletions

View File

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