Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update _writer.py - Invalid Link Fix #2448

Closed
wants to merge 1 commit into from
Closed

Update _writer.py - Invalid Link Fix #2448

wants to merge 1 commit into from

Conversation

rsinger417
Copy link
Contributor

passes an IndirectObject for the target page instead of an integer. passing an integer creates an invalid link.
resolves #2443 Issue

passes an IndirectObject for the target page instead of an integer.
passing an integer creates an invalid link.
resolves #2443 Issue
@stefan6419846
Copy link
Collaborator

Could you please add a corresponding test case as well which shows the previous issue and demonstrates that your fix does indeed solve this?

@rsinger417 rsinger417 closed this by deleting the head repository Feb 8, 2024
rsinger417 added a commit to rsinger417/pypdf that referenced this pull request Feb 8, 2024
passes an IndirectObject for the target page instead of an integer. passing an integer creates an invalid link.
resolves py-pdf#2443 Issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pypdf creates invalid links with add_annotation since PyPDF2 2.9.0
2 participants