@@ -2608,7 +2608,7 @@ std::string Parameters::createParameterString(const std::vector<MMseqsParameter*
26082608 std::string value = MultiParam<NuclAA<std::string>>::format (tmpPar);
26092609 // encode parameters as base64 if it contains whitespaces
26102610 // whitespaces break parameters in the workflow shell scripts
2611- if (value.find_first_of (" \n\t []{}^$?|.~!*" ) != std::string::npos) {
2611+ if (value.find_first_of (" \n\t []{}^$?|.~!*<>& " ) != std::string::npos) {
26122612 ss << par[i]->name << " b64:" << base64_encode (value.c_str (), value.size ()) << " " ;
26132613 } else {
26142614 ss << par[i]->name << " " << value << " " ;
@@ -2617,7 +2617,7 @@ std::string Parameters::createParameterString(const std::vector<MMseqsParameter*
26172617 std::string& value = *((std::string *) par[i]->value );
26182618 if (value != " " ) {
26192619 // see above
2620- if (value.find_first_of (" \n\t []{}^$?|.~!*" ) != std::string::npos) {
2620+ if (value.find_first_of (" \n\t []{}^$?|.~!*<>& " ) != std::string::npos) {
26212621 ss << par[i]->name << " b64:" << base64_encode (value.c_str (), value.size ()) << " " ;
26222622 } else {
26232623 ss << par[i]->name << " " << value << " " ;
@@ -2634,7 +2634,7 @@ std::string Parameters::createParameterString(const std::vector<MMseqsParameter*
26342634 ss << par[i]->name << " " ;
26352635 std::string value = MultiParam<NuclAA<std::string>>::format (*((MultiParam<NuclAA<std::string>> *) par[i]->value ));
26362636 // see above
2637- if (value.find_first_of (" \n\t []{}^$?|.~!*" ) != std::string::npos) {
2637+ if (value.find_first_of (" \n\t []{}^$?|.~!*<>& " ) != std::string::npos) {
26382638 ss << par[i]->name << " b64:" << base64_encode (value.c_str (), value.size ()) << " " ;
26392639 } else {
26402640 ss << par[i]->name << " " << value << " " ;
0 commit comments