Skip to content

fix(charset_filter): Incorrect condition for checking the namespace - #1218

Merged
lotem merged 1 commit into
masterfrom
fix-charset-filter-ns-check
Aug 26, 2026
Merged

fix(charset_filter): Incorrect condition for checking the namespace#1218
lotem merged 1 commit into
masterfrom
fix-charset-filter-ns-check

Conversation

@ksqsf

@ksqsf ksqsf commented Aug 23, 2026

Copy link
Copy Markdown
Member

fixes #1217

@ksqsf
ksqsf requested a lite review from Copilot August 23, 2026 15:05
@ksqsf
ksqsf force-pushed the fix-charset-filter-ns-check branch from d28e565 to 8ee193d Compare August 23, 2026 15:06
@ksqsf
ksqsf requested a review from a team August 23, 2026 15:06

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Fixes incorrect namespace handling in charset_filter.

Changes:

  • Recognizes the default filter namespace.
  • Suppresses unsupported-parameter logging for the default namespace.
  • Preserves filtering behavior when extended charset is disabled.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/rime/gear/charset_filter.cc Outdated
@ksqsf
ksqsf force-pushed the fix-charset-filter-ns-check branch from 8ee193d to 704f304 Compare August 23, 2026 15:09
@ksqsf
ksqsf force-pushed the fix-charset-filter-ns-check branch from 704f304 to 3676500 Compare August 23, 2026 15:09

@lotem lotem 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.

Thanks. LGTM.

@lotem
lotem merged commit 13faefe into master Aug 26, 2026
20 checks passed
@lotem
lotem deleted the fix-charset-filter-ns-check branch August 26, 2026 14:26
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.

charset_filter 从 engine/filters 装配时必然报错 "charset parameter is unsupported"(源码级分析)

3 participants