HTTPs check
Would apply for non-http testing? FossilOrigin-Name: 34c6a390c6f8a8912f8d63520fc86e1d02e141b91fc56d78eea2a7ee71219a66
This commit is contained in:
parent
5813c25e1d
commit
d4a53d2472
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ char* construct_post_box(char* reply_id,
|
|||
* so we just grep for regex href
|
||||
* - Misskey/Mastodon adds an @ symbol in the href param, while pleroma adds /users
|
||||
*/
|
||||
#define REGEX_REPLY "<a .*?href=\"https:\\/\\/(.*?)\\/(?:@|users/)?(.*?)?\".*?>@(?:<span>)?.*?(?:<\\/span>)?"
|
||||
#define REGEX_REPLY "<a .*?href=\"https?:\\/\\/(.*?)\\/(?:@|users/)?(.*?)?\".*?>@(?:<span>)?.*?(?:<\\/span>)?"
|
||||
#define REGEX_RESULTS_LEN 9
|
||||
|
||||
char* reply_status(char* id, struct mstdnt_status* status)
|
||||
|
|
Loading…
Reference in a new issue