Skip to content

Verification of wnVO value in TornadoPilotLogging #8735

Description

@sfayer

Hi,

There are two functions in the TornadoPilotLogging that accept a "wnVO" argument for a fallback case: This should be validated to ensure it doesn't contain any unexpected characters (such as "/" which might cause problems with the lower functions). Could you please add a regexp or similar to check it only contains characters valid in a VO name, ^[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*$ maybe? (Perhaps it should be normalised to lower-case for consistency everywhere too?).

Regards,
Simon

def export_sendMessage(self, message, pilotUUID, wnVO):

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions