mirror of
https://github.com/sogou/workflow.git
synced 2026-10-29 11:36:47 +08:00
Merge pull request #666 from Barenboim/master
Fix dns message bug when name has trailing dot
This commit is contained in:
@@ -238,6 +238,8 @@ public:
|
||||
void set_request_name(const std::string& name)
|
||||
{
|
||||
this->request_name = name;
|
||||
while (!name.empty() && name.back() == '.')
|
||||
this->request_name.pop_back();
|
||||
}
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user