mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 19:22:24 -05:00
[bugfix] Sanitize incoming PropertyValue fields (#2722)
This commit is contained in:
parent
0b35257312
commit
f487fc5d4b
3 changed files with 144 additions and 0 deletions
|
|
@ -387,6 +387,12 @@ type WithName interface {
|
|||
SetActivityStreamsName(vocab.ActivityStreamsNameProperty)
|
||||
}
|
||||
|
||||
// WithValue represents an activity with SchemaValueProperty
|
||||
type WithValue interface {
|
||||
GetSchemaValue() vocab.SchemaValueProperty
|
||||
SetSchemaValue(vocab.SchemaValueProperty)
|
||||
}
|
||||
|
||||
// WithImage represents an activity with ActivityStreamsImageProperty
|
||||
type WithImage interface {
|
||||
GetActivityStreamsImage() vocab.ActivityStreamsImageProperty
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue