Skip to content

Escape pkg names in URLs #62

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 10, 2025

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