Skip to content

linux: Strip quotes from distribution names - #213

Merged
RytoEX merged 1 commit into
obsproject:masterfrom
prgmitchell:fixDistroParsing
Oct 27, 2026
Merged

RytoEX merged 1 commit into
obsproject:masterfrom
prgmitchell:fixDistroParsing

Conversation

@prgmitchell

Copy link
Copy Markdown
Member

Description

Remove distro quotes before HTML escaping and remove Ubuntu specific escaping exception. There was a specific exception for Ubuntu detection in #208 but it looks like there were other cases where this would've been needed.

Motivation and Context

Reported in the Discord, this log: https://obsproject.com/logs/FtHQfccmp6cbm2xG
Distro listed as "Arch Linux" Unknown | Wayland | KDE (KDE)

How Has This Been Tested?

The above log + a few others, all look good.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I have read the contributing document.
  • My code has been run through clang-format.
  • My code follows the project's style guidelines
  • My code is not on the master branch.
  • My code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

Remove distro quotes before HTML escaping and remove Ubuntu specific
escaping exception.
@prgmitchell
prgmitchell requested a review from RytoEX October 24, 2026 00:41

@RytoEX RytoEX left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think my original change was trying to be conservative and not change the distro value, but this seems fine.

@RytoEX
RytoEX merged commit 8e2626a into obsproject:master Oct 27, 2026
2 checks 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