mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-09-09 11:18:54 +00:00
Add cookie to check share link access (#691)
* Add cookie to check share link access * Modify user agent and add timeout * Add filename to attachment * Go set filename to attach * C set filename to attachment * Adjust position of check priviate key * Set Content-Type and User-Agent --------- Co-authored-by: 杨赫然 <heran.yang@seafile.com>
This commit is contained in:
@@ -50,5 +50,5 @@ char *
|
||||
http_tx_manager_get_nickname (const char *modifier);
|
||||
|
||||
SeafileShareLinkInfo *
|
||||
http_tx_manager_query_share_link_info (const char *token, const char *type);
|
||||
http_tx_manager_query_share_link_info (const char *token, const char *cookie, const char *type);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user