dotnet / dotnet/arcade

Incorrect Trailing Slash in ArEntry.Name for files in Debian Packages

Open
#15,384 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
729
Forks
397
Avg merge
3d 15m
Merged PRs (30d)
149

Description

When unpacking contents from a Debian package using` ArReader` and `ArEntry`, I encountered an error where the name (`ArEntry.Name`) of a `_gpgorigin` file contained a trailing slash. Specifically, when a Debian package includes a `_gpgorigin` file, `ArEntry.Name` is set to _`gpgorigin/`. The trailing slash is incorrect as `_gpgorigin` is a file, not a directory.

Updated the name to reflect that this happens with multiple files, not just `_gpgorigin`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.