make sanitization failures permanent #38
1 changed files with 0 additions and 4 deletions
|
@ -122,10 +122,6 @@ export function yumeNormalizeObject(object: IUnsanitizedObject): IObject {
|
||||||
object.url = yumeNormalizeRecursive(object.url);
|
object.url = yumeNormalizeRecursive(object.url);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (object.attachment) {
|
|
||||||
object.attachment = object.attachment.map(yumeNormalizeRecursive);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (object.inReplyTo) {
|
if (object.inReplyTo) {
|
||||||
object.inReplyTo = yumeNormalizeRecursive(object.inReplyTo);
|
object.inReplyTo = yumeNormalizeRecursive(object.inReplyTo);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue