Project

General

Profile

Actions

Bug #16964

open

URL tables cannot import content from ``tgz`` file URLs

Added by Jim Pingle 3 days ago. Updated about 16 hours ago.

Status:
Feedback
Priority:
Normal
Assignee:
Category:
Aliases / Tables
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
26.07
Release Notes:
Default
Affected Version:
Affected Architecture:

Description

The parsing of content from tgz archive URLs into URL table aliases is broken in several ways:

  • It does not create a directory before trying to use it for tar output
  • It is not reading the list of files to import from the directory where tar places the files
  • It tries to write output to a file with the same name as the extraction directory, so creating the file fails
  • It does not ensure the files in the archive are regular files before reading their content
  • It tries to read with fread not fgets and ends up with an empty file as a result
  • It does not clean up the directory where content was extracted when complete

Most of these bugs were not being hit because it failed earlier in the process, so they were moot, however, they all need to be fixed before functionality can be restored.

Reported by: @lujiefsi


Files

16964.patch (1.92 KB) 16964.patch Jim Pingle, 07/21/2026 07:46 PM
16964-b.patch (1.9 KB) 16964-b.patch Jim Pingle, 07/23/2026 06:35 PM
Actions

Also available in: Atom PDF