Skip to content

Commit

Permalink
fix db with empty binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
antelle committed Feb 27, 2017
1 parent 27a4e70 commit da0747c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dist/kdbxweb.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/format/kdbx-meta.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ KdbxMeta.prototype._readBinaries = function(node, ctx) {
KdbxMeta.prototype._readBinary = function(node, ctx) {
var id = node.getAttribute(XmlNames.Attr.Id);
var binary = XmlUtils.getProtectedBinary(node);
if (id) {
if (id && binary) {
ctx.kdbx.binaries[id] = binary;
}
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kdbxweb",
"version": "1.0.0",
"version": "1.0.1",
"description": "Kdbx KeePass database reader for web",
"repository": {
"type": "git",
Expand Down
5 changes: 4 additions & 1 deletion release-notes.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Release notes
-------------
##### v1.0.0 (WIP)
##### v1.0.1 (2017-02-27)
`-` fix opening db with empty binaries

##### v1.0.0 (2017-02-01)
`+` KDBX4 support
`!` API updated

Expand Down

0 comments on commit da0747c

Please sign in to comment.