Modify ↓
Ticket #1143 (closed defect: fixed)
Cfg in maint allows you to use non-dots to concatenate the basename and the Group name.
Reported by: | https://www.google.com/accounts/o8/id?id=AItOawn0s7RDAZJqmy8qhaS8PFtgoke6VxxZKSI | Owned by: | desai |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | bcfg2-server | Version: | 1.0 |
Keywords: | Cc: |
Description
I was looking at this line in the 'maint' branch, and I believe it doesn't properly escape the '.', so you could use any character.
I realized we were using '-' in a couple places, so this behavior is verified. While I don't really expect this to be fixed in maint, it is a kind of undocumented behavior that others might not realize they are relying on.
I looked at the 'master' branch and it uses better regex so it might not be a problem (although does this line have the properly escaped '.'? There's only one slash, instead of the two used in the Host part the line above. I'm not terribly familiar with Python regexes).
Attachments
Change History
Note: See
TracTickets for help on using
tickets.