-
Notifications
You must be signed in to change notification settings - Fork 18
use leveldb #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
use leveldb #6
Conversation
Codecov Report
@@ Coverage Diff @@
## master #6 +/- ##
==========================================
+ Coverage 73.27% 75.52% +2.25%
==========================================
Files 21 21
Lines 1145 993 -152
Branches 118 101 -17
==========================================
- Hits 839 750 -89
+ Misses 272 221 -51
+ Partials 34 22 -12
Continue to review full report at Codecov.
|
server-websocket.js
Outdated
@@ -31,14 +47,15 @@ const server = http.createServer((req, res) => { | |||
const io = socketIo.listen(server); | |||
|
|||
const yInstances = {}; | |||
const metadata = {}; | |||
const dirs = getDirectories('y-leveldb-databases/').map(p => p.split('/')[1]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if this line is platform-independent.
Security issue: If a user creates a page named '..', LevelDB creates files outside 'y-leveldb-databases' directory. |
c9fbcbc
to
fe5ccfa
Compare
Changes Unknown when pulling 76f997e on leveldb into ** on master**. |
The security issue was fixed by commit "Escape LevalDB namespaces". If following items become clear, we can merge the PR.
|
a58c5b2
to
4333f12
Compare
f2e6ab0
to
b6f95e0
Compare
No description provided.