Skip to content

Stop go-org logging to stderr - #15

Merged
andrew merged 1 commit into
mainfrom
silence-org-log
Nov 23, 2026
Merged

andrew merged 1 commit into
mainfrom
silence-org-log

Conversation

@andrew

@andrew andrew commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

go-org logs parse warnings to stderr by default, and the messages echo document content: a rejected #+INCLUDE prints its path, a missing footnote prints its name. Rendering untrusted Org files let the input write arbitrary lines to the host process's stderr.

OrgRenderer now uses go-org's Silent() configuration, which discards those warnings.

@andrew
andrew added this pull request to stack #16 November 23, 2026 08:42
@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 16 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4a79a8d6-4cce-49e5-b5a1-f597b3cc3cb6
Commits

Reviewing files that changed from the base of the PR and between 28fe1b6 and dfcc20a.

Files selected for processing: 2

  • markup_test.go
  • org.go
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Base automatically changed from disable-file-includes to main November 23, 2026 09:15
Parse warnings echo document content, so untrusted input could write
arbitrary lines to the host process's stderr.
@andrew
andrew merged commit 2028926 into main Nov 23, 2026
6 checks passed
@andrew
andrew deleted the silence-org-log branch November 23, 2026 09:20
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.

1 participant