Affected by GO-2024-3046
and 1 other vulnerabilities
GO-2024-3046: memos vulnerable to Server-Side Request Forgery in /api/resource in github.com/usememos/memos
GO-2024-3049: memos vulnerable to Server-Side Request Forgery and Cross-site Scripting in github.com/usememos/memos
package
Version:
v0.21.1
Opens a new window with list of versions in this module.
Published: Apr 26, 2024
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Store tests
How to test store with MySQL?
- Create a database in your MySQL server.
- Run the following command with two environment variables set:
DRIVER=mysql DSN=root@/memos_test go test -v ./test/store/...
DRIVER
should be set to mysql
.
DSN
should be set to the DSN of your MySQL server.
Documentation
¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.