Page MenuHomePhabricator

D6524.diff
No OneTemporary

D6524.diff

diff --git a/services/tunnelbroker/src/libcpp/src/Tools/Tools.cpp b/services/tunnelbroker/src/libcpp/src/Tools/Tools.cpp
--- a/services/tunnelbroker/src/libcpp/src/Tools/Tools.cpp
+++ b/services/tunnelbroker/src/libcpp/src/Tools/Tools.cpp
@@ -25,6 +25,10 @@
}
bool validateDeviceID(std::string deviceID) {
+ if (config::ConfigManager::getInstance().isParameterSet(
+ config::ConfigManager::OPTION_DISABLE_DEVICEID_VALIDATION)) {
+ return true;
+ }
try {
static const std::regex deviceIDKeyserverRegexp("^ks:.*");
if (std::regex_match(deviceID, deviceIDKeyserverRegexp)) {

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 12:13 AM (21 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2679302
Default Alt Text
D6524.diff (604 B)

Event Timeline