Open PDF to a specific bookmarked page
from https://forum.sumatrapdfreader.org/t/open-pdf-to-a-specific-bookmarked-page/3090
As far as I know SumatraPDF has always been immune to some common means to exploit a PDF since PDF specification allows documents to automatically run code. /JS or /JavaScript /Action or /AA (Automatic Action) /Launch Action /OpenAction (which for example can be directed to a malicious site)
However that last directive can be very commonly found used to open a PDF at a given page, such as page 2 in this sample. forum 3090 BkMkTest.pdf
What is desired is that in a safe way SumatraPDF follow the /OpenAction directive to only open page 2 (on first opening the file in a sesion), but not be hijacked to Open any other object such as an URI.
The action could be an OPTION thus maintain default condition (as per current behaviour) to NOT open at "given" pages
later edit removed references to historic .v/bkm behaviour
Seems to be working i.e. clicking on Page 2, Page 3 links in bookmarks goes to page 2 and 3. Unless it's about something else.
The issue is on opening the file it should be forced to GO TO page 2 (highlighting bookmark 2) same as Acrobat does
Thanks, I understand now.