Don't allow page path component for new-style zotero://open-pdf URLs
That's only necessary for ZotFile URLs.
This commit is contained in:
parent
609657a8e4
commit
60e0d79e01
1 changed files with 2 additions and 2 deletions
|
@ -1030,10 +1030,10 @@ function ZoteroProtocolHandler() {
|
|||
var router = new Zotero.Router(params);
|
||||
|
||||
// All items
|
||||
router.add('library/items/:objectKey/:pathPage', function () {
|
||||
router.add('library/items/:objectKey', function () {
|
||||
params.libraryID = userLibraryID;
|
||||
});
|
||||
router.add('groups/:groupID/items/:objectKey/:pathPage');
|
||||
router.add('groups/:groupID/items/:objectKey');
|
||||
|
||||
// ZotFile URLs
|
||||
router.add(':id/:pathPage', function () {
|
||||
|
|
Loading…
Add table
Reference in a new issue