|
@@ -2397,7 +2397,7 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
|
|
|
|
|
|
|
|
/* quoted post */
|
|
/* quoted post */
|
|
|
const char *quoted_id = xs_dict_get(msg, "quote");
|
|
const char *quoted_id = xs_dict_get(msg, "quote");
|
|
|
- if (xs_is_string(quoted_id)) {
|
|
|
|
|
|
|
+ if (xs_is_string(quoted_id) && xs_match(quoted_id, "https://*|http://*")) { /** **/
|
|
|
xs *quoted_post = NULL;
|
|
xs *quoted_post = NULL;
|
|
|
|
|
|
|
|
if (valid_status(object_get(quoted_id, "ed_post))) {
|
|
if (valid_status(object_get(quoted_id, "ed_post))) {
|