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

source package upload: allow + in version #1264

Closed
wants to merge 1 commit into from

Conversation

neolynx
Copy link
Member

@neolynx neolynx commented Apr 10, 2024

Requirements

All new code should be covered with tests, documentation should be updated. CI should pass.

Description of the Change

Aptly ignores source package archive files if they have a plus in the version. This happens because files uploaded to aptly have plus signes url escaped, but the filename inside the dsc file is not escaped. This changes fixes this behavior, by unescaping the filename when needed.

Checklist

  • unit-test added (if change is algorithm)
  • functional test added/updated (if change is functional)
  • man page updated (if applicable)
  • bash completion updated (if applicable)
  • documentation updated
  • author name in AUTHORS

@neolynx neolynx self-assigned this Apr 10, 2024
@neolynx
Copy link
Member Author

neolynx commented Apr 11, 2024

this error is caused when a client urlencodes the filename in the multipart form. not a aptly bug.

@neolynx neolynx closed this Apr 11, 2024
@neolynx neolynx deleted the fix/srcpkg-version-plus branch April 11, 2024 10:56
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.

1 participant