We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subject: [PATCH] function arg could be empty string, the mache rule regex updated. --- xbmcswift2/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbmcswift2/urls.py b/xbmcswift2/urls.py index ba99cb2..ceefcc3 100644 --- a/xbmcswift2/urls.py +++ b/xbmcswift2/urls.py @@ -64,7 +64,7 @@ class UrlRule(object): self._defaults = None # Make a regex pattern for matching incoming URLs - p = self._url_rule.replace('<', '(?P<').replace('>', '>[^/]+?)') + p = self._url_rule.replace('<', '(?P<').replace('>', '>[^/]*?)') try: self._regex = re.compile('^' + p + '$') -- 1.8.0
The text was updated successfully, but these errors were encountered:
close this, and leave the pull request #70 for the issue.
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: