Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] Which are the valid characters for "sock"?
- Date: Mon, 28 Dec 2020 15:46:54 +0000
- From: John M Knoeller <johnkn@xxxxxxxxxxx>
- Subject: Re: [HTCondor-users] Which are the valid characters for "sock"?
Yes, dash is permitted.
Looking at the sinful parser in condor_utils/condor_sinful.cpp
almost any character other than :?> is permitted before the ?
after the ? characters other than these will be encoded like in a URL
isalnum((unsigned char)ch) || ch == '.' || ch == '_' || ch == '-' || ch == ':' || ch == '#' || ch == '[' || ch == ']' || ch == '+'
-tj
-----Original Message-----
From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> On Behalf Of Marco Mambelli
Sent: Thursday, December 24, 2020 10:56 AM
To: htcondor-users@xxxxxxxxxxx
Subject: [HTCondor-users] Which are the valid characters for "sock"?
Hi everyone,
is is there a specification of the valid characters for the sock parameter in a sinful string? Are dashes (-) allowed?
<tl;dr>
I'm parsing the sinful string in a shell script and I was wondering which are the valid characters in the sock parameter, the one that distinguishes the daemons when using shared port.
Its value at times come from the user (e.g. -sock option when starting a collector).
I'm mainly interested on knowing if a "-", dash, is allowed or not, because if it is it would break my current parsing.
I did non find info in the documentation and in the source code I did not find use of it but I did not find any validation blocking it (maybe I did not check well enough)
Thanks,
Marco
_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/