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

attach: Do not store absolute paths #202

Closed
KopiasCsaba opened this issue Jun 24, 2020 · 1 comment
Closed

attach: Do not store absolute paths #202

KopiasCsaba opened this issue Jun 24, 2020 · 1 comment
Assignees

Comments

@KopiasCsaba
Copy link

KopiasCsaba commented Jun 24, 2020

Dear Developer(s)!

When adding an attachment, the full original path is stored in the pdf file.

E.g. doing this:

pdfcpu attachment add /data/home/csaba/work/fpr/issues/1010/test/gl/gl2/orig.pdf /data/home/csaba/work/fpr/issues/1010/test/gl/gl2/foobar/orig.pdf

Will result in this:

image

It would be nice if only the basename would be stored!

Thank you very much!

Result file:
orig.pdf

Best regards,
Csaba

@hhrutter hhrutter self-assigned this Jun 24, 2020
@hhrutter hhrutter changed the title Full original location available in the attachment's name attach: Do not store absolute paths Jun 24, 2020
hhrutter added a commit that referenced this issue Jun 28, 2020
@hhrutter
Copy link
Collaborator

Fixed with v0.3.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants