|
@@ -721,7 +721,7 @@ class Reader {
|
|
return;
|
|
return;
|
|
const recent = this.mostRecentBook();
|
|
const recent = this.mostRecentBook();
|
|
const pos = (recent && recent.bookPos && this.allowUrlParamBookPos ? `__p=${recent.bookPos}&` : '');
|
|
const pos = (recent && recent.bookPos && this.allowUrlParamBookPos ? `__p=${recent.bookPos}&` : '');
|
|
- const url = (recent ? `url=${recent.url}` : '');
|
|
|
|
|
|
+ const url = (recent ? `url=${encodeURIComponent(recent.url)}` : '');
|
|
if (isNewRoute)
|
|
if (isNewRoute)
|
|
this.$router.push(`/reader?${pos}${url}`).catch(() => {});
|
|
this.$router.push(`/reader?${pos}${url}`).catch(() => {});
|
|
else
|
|
else
|