goingforstudying-ctrl commented on PR #40746: URL: https://github.com/apache/superset/pull/40746#issuecomment-4726067631
Fixed both issues raised by Bito: 1. Added `escape_llm_context_delimiters()` to `_extract_role_names` validator so both the Pydantic coercion path and the `serialize_user_object` path produce consistently escaped role names. 2. Added `test_user_info_escapes_malicious_role_names` to verify that role names containing LLM context delimiters are properly escaped. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
