pywps/inout/basic.py - allow inputpaths to accept full windows paths that include colon by using os.pathsep instead of ':'. os.pathsep is ':' on unix and ';' on windows.
pywps/app/Service.py - remove duplicated code, use pywps.inout.basic.ComplexInput._validate_file_input
Overview
With this bugfix one can now provide full windows paths (with colon) as follows:
allowedinputpaths=./static/;d:\Maps
The path separator on windows is a semicolon, and the path separator on Linux is a colon (which is a valid character in a windows path)
[X] I'd like to contribute [bugfix] to PyWPS. I confirm that my contributions to PyWPS will be compatible with the PyWPS license guidelines at the time of contribution.
[ ] I have already previously agreed to the PyWPS Contributions and Licensing Guidelines
…that include colon (i.e. c:\inputs)
Overview
With this bugfix one can now provide full windows paths (with colon) as follows: allowedinputpaths=./static/;d:\Maps The path separator on windows is a semicolon, and the path separator on Linux is a colon (which is a valid character in a windows path)
Related Issue / Discussion
Additional Information
Contribution Agreement
(as per https://github.com/geopython/pywps/blob/master/CONTRIBUTING.rst#contributions-and-licensing)