databend
databend copied to clipboard
fix(query): useridentity hostname only support char %
I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/
Summary
-
username containing @ should not encode when record log or err msg
-
We disabled arbitrary hostnames when creating users last year pr https://github.com/datafuselabs/databend/pull/11818 so the user meta key can only be generated by username, and % is a default value in UserIdentity.
-
delete StageFileInfo::creator
Note:
Also, do not support localhost as hostname.
- Fixes #[Link the issue here]
Tests
- [ ] Unit Test
- [x] Logic Test
- [ ] Benchmark Test
- [ ] No Test - Explain why
Type of change
- [x] Bug Fix (non-breaking change which fixes an issue)
- [ ] New Feature (non-breaking change which adds functionality)
- [ ] Breaking Change (fix or feature that could cause existing functionality not to work as expected)
- [ ] Documentation Update
- [ ] Refactoring
- [ ] Performance Improvement
- [ ] Other (please describe):