diff --git a/unarr.go b/unarr.go index d8bcf31..97a030b 100644 --- a/unarr.go +++ b/unarr.go @@ -170,7 +170,8 @@ func (a *Archive) Offset() int64 { // Name returns the name of the current entry as UTF-8 string func (a *Archive) Name() string { - return unarrc.EntryGetName(a.archive) + name, _ := filepath.Abs(unarrc.EntryGetName(a.archive)) + return name } // RawName returns the name of the current entry as raw string