Skip to content

fix(linux): sanitize env for xdg-open in AppImage#631

Merged
koala73 merged 1 commit into
koala73:mainfrom
FayezBast:fix/appimage-xdg-open-links
Mar 1, 2026
Merged

fix(linux): sanitize env for xdg-open in AppImage#631
koala73 merged 1 commit into
koala73:mainfrom
FayezBast:fix/appimage-xdg-open-links

Conversation

@FayezBast

Copy link
Copy Markdown
Collaborator

Summary

Fixes Linux AppImage external link failures on some distros (e.g. Arch). When spawning xdg-open, the AppImage runtime can leak LD_LIBRARY_PATH / LD_PRELOAD into the child process, causing /bin/sh to fail with a symbol lookup error (rl_print_keybinding). This change removes those environment variables for the xdg-open child process so system tools use host libraries correctly. Fixes #628.

Type of change

  • Bug fix
  • New feature
  • New data source / feed
  • New map layer
  • Refactor / code cleanup
  • Documentation
  • CI / Build / Infrastructure

Affected areas

  • Map / Globe
  • News panels / RSS feeds
  • AI Insights / World Brief
  • Market Radar / Crypto
  • Desktop app (Tauri)
  • API endpoints (/api/*)
  • Config / Settings
  • Other:

Checklist

  • Tested on worldmonitor.app variant
  • Tested on tech.worldmonitor.app variant (if applicable)
  • New RSS feed domains added to api/rss-proxy.js allowlist (if adding feeds)
  • No API keys or secrets committed
  • TypeScript compiles without errors (npm run typecheck)

Screenshots

N/A – backend-only fix affecting Linux AppImage runtime behavior.

@vercel

vercel Bot commented Mar 1, 2026

Copy link
Copy Markdown

@FayezBast is attempting to deploy a commit to the Elie Team on Vercel.

A member of the Team first needs to authorize it.

@koala73

koala73 commented Mar 1, 2026

Copy link
Copy Markdown
Owner

Thank you @FayezBast - approved

@koala73
koala73 merged commit 0a62738 into koala73:main Mar 1, 2026
1 of 5 checks passed
matthewvecchione1-ops pushed a commit to matthewvecchione1-ops/worldmonitor that referenced this pull request Mar 4, 2026
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.

AppImage - all external links do not function

2 participants