clartaq / cwiki

A personal wiki written in Clojure/Script
Other
3 stars 0 forks source link

The Import Function should Percent Encode the Titles of Imported Pages before Attempting to Navigate to them #22

Closed clartaq closed 4 years ago

clartaq commented 4 years ago

A page with the title "Joe's Diner" will export and backup ok but causes the Import and Restore functions to hang. It seems that the page is actually imported correctly, but somewhere a SQL syntax error occurs according to the browser console.

The process hangs, but you can use the browser buttons to back up to a working state.

Apparently this is not caught by the unit tests for the database that are explicitly designed to look for problems with apostrophes.