Bug 47267 - path of UCRV repository/online/component/*/server is ignored
path of UCRV repository/online/component/*/server is ignored
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: Update - univention-updater
UCS 4.3
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on: 39306
Blocks: 55044
  Show dependency treegraph
 
Reported: 2018-06-28 15:57 CEST by Philipp Hahn
Modified: 2022-08-08 15:05 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.091
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2018-06-28 15:57:55 CEST
Since Bug #39306 https:// is supported. A complete URL including the schema can be used for `repository/{online,mirror}/server` and `repository/online/component/*/server`. If the URL includes a path, that path overwrites `repository/*/prefix`, but NOT `repository/online/component/*/prefix`.

modules/univention/updater/tools.py:1477         c_url.path = ''

ucs-4.1-0@64693 does not include a detailed description for that line, but if I remember correctly, this was required for the case where the main repository contains a path (like http://univention-repository.$FQDN/univention-repository/), but a component is fetched from a different server with an empty path, but that path is not explicitly specified:
  repository/online/server=http://$FQHN1/univention-repository/
  repository/online/component/$COMP/server=$FQHN2 # no schema
  # repository/online/component/$COMP/prefix NOT given

This is similar to Bug #44906, which is for credentials included in the URL.
Comment 1 Ingo Steuwer univentionstaff 2021-05-14 16:42:53 CEST
This issue has been filed against UCS 4.3.

UCS 4.3 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.


Additional note: the repository structure will change in UCS 5.0, the bug might be fixed there