mirror of
https://github.com/usememos/memos.git
synced 2024-11-17 20:25:46 +08:00
3181c076b2
Add {uuid} in path template when using local storage or S3 Add an addition tag `{uuid}` to the `replacePathTemplate`. It is a workaround to leak the public links of a resource when using S3-based object storage. Currently, all resource blobs stored in S3 (R2, OSS) are set to be public. It is insecure as the resources for the private memos are also accessible on the Internet. Using an additional {uuid} might reduce this risk. Meanwhile, it is also possible to avoid filename conflict |
||
---|---|---|
.. | ||
auth.go | ||
common.go | ||
docs.go | ||
http_getter.go | ||
idp.go | ||
jwt.go | ||
memo.go | ||
memo_organizer.go | ||
memo_relation.go | ||
resource.go | ||
rss.go | ||
storage.go | ||
swagger.yaml | ||
system.go | ||
system_setting.go | ||
tag.go | ||
tag_test.go | ||
user.go | ||
v1.go |