Bug 697898

Summary: murun's Page.getLinks returns the same URI multiple times
Product: MuPDF Reporter: Zaki Mughal <zaki.mughal>
Component: appsAssignee: MuPDF bugs <mupdf-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: tor.andersson
Priority: P4    
Version: master   
Hardware: All   
OS: All   
Customer: Word Size: ---
Attachments: Patch that changes s/link/links/ and s/n/link/

Description Zaki Mughal 2017-05-12 19:26:29 UTC
Created attachment 13675 [details]
Patch that changes s/link/links/ and s/n/link/

The reason for this is because the code does not use correct iterator variable name in the for-loop. Attached is a patch that changes the variable names to fix this.
Comment 1 Tor Andersson 2018-11-09 17:10:05 UTC
commit db938eebb82e08f6de82c4f1d8536d589a94ddcf
Author: Tor Andersson <tor.andersson@artifex.com>
Date:   Mon May 15 16:10:08 2017 +0200

    Fix 697898: Typo in iterator in JS Page.getLinks().