Skip to content
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

Don't assume capabilities have been cached when sending literals #569

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mjs
Copy link
Owner

@mjs mjs commented Dec 1, 2023

_send_literal was assuming that _cached_capabilites was populated when checking for LITERAL+ but this isn't guaranteed. has_capability is now used to check for LITERAL+. This will populate the capabilities cache if it hasn't been already.

Fixes #560

_send_literal was assuming that _cached_capabilites was populated when
checking for LITERAL+ but this isn't guaranteed. has_capability is now
used to check for LITERAL+. This will populate the capabilities cache if
it hasn't been already.

Fixes #560
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.

subject search chinese not support?
1 participant