Skip to content

Escape pkg names in URLs#62

Merged
NamelessOne91 merged 1 commit intouyuni-project:masterfrom
NamelessOne91:url_escaping
Apr 10, 2025
Merged

Escape pkg names in URLs#62
NamelessOne91 merged 1 commit intouyuni-project:masterfrom
NamelessOne91:url_escaping

Conversation

@NamelessOne91
Copy link
Contributor

@NamelessOne91 NamelessOne91 commented Apr 7, 2025

Related to https://github.com/SUSE/spacewalk/issues/26920

Some packages have + characters in their name, think of pkgs which explicitly state c++ as an example.

Although + should be a valid character in URL Paths, some middleware software are not 100% compliant with the standard and interpret it as the encoding for " " (an empty space), as if dealing with queries.
They expect + characters to be encoded to %2B, which is actually the encoding needed for URL Queries.

@NamelessOne91 NamelessOne91 self-assigned this Apr 7, 2025
@NamelessOne91 NamelessOne91 force-pushed the url_escaping branch 2 times, most recently from 1574071 to 32b96fb Compare April 7, 2025 22:20
Copy link

@Bischoff Bischoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@NamelessOne91 NamelessOne91 merged commit 3cbe0b9 into uyuni-project:master Apr 10, 2025
1 check passed
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.

2 participants