Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
systemsmanagement:saltstack:products:testing
py26-compat-salt
escape-the-os.sep.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File escape-the-os.sep.patch of Package py26-compat-salt
From c0aa5a4c975a0e42ae7e957f0d83e19fc2706da6 Mon Sep 17 00:00:00 2001 From: Daniel Wallace <gtmanfred@users.noreply.github.com> Date: Wed, 2 Aug 2017 15:33:08 -0600 Subject: [PATCH] escape the os.sep --- salt/utils/verify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/utils/verify.py b/salt/utils/verify.py index db513ba675..8690f6fb61 100644 --- a/salt/utils/verify.py +++ b/salt/utils/verify.py @@ -485,7 +485,7 @@ def clean_id(id_): ''' Returns if the passed id is clean. ''' - if re.search(r'\.\.{sep}'.format(sep=os.sep), id_): + if re.search(r'\.\.\{sep}'.format(sep=os.sep), id_): return False return True -- 2.13.6
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor