mirror of
https://github.com/appy-one/acebase.git
synced 2026-05-25 06:02:14 -06:00
[GH-ISSUE #56] Exporting strings with multiple slashes #40
Labels
No labels
IndexedDB
browser
bug
dependencies
documentation
duplicate
enhancement
feature request
indexes
indexes
invalid
pull-request
query
question
transaction logging
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase#40
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @appy-one on GitHub (Dec 29, 2021).
Original GitHub issue: https://github.com/appy-one/acebase/issues/56
Originally assigned to: @appy-one on GitHub.
When exporting strings that contains backslashes, the first one is doubled in the exported value:
After execution, the value of
jsonis{"text":"Strings with multiple \\ backslashes \ are not \ exported ok"}.The expected value is
{"text":"Strings with multiple \ backslashes \ are not \ exported ok"}.The issue is caused by the
escapefunction in theexportNodemethod in storage.js, which does a regexp replace on the first occurrence of a backslashWill be fixed soon
@appy-one commented on GitHub (Dec 31, 2021):
Fix published in acebase v1.13.0