Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed url matching when using url with query string arguments (ie. se…

…cure key)
  • Loading branch information...
commit 09208d3f4a480870b65e0aa6ee91332e83586d73 1 parent cf55a7c
@pigmej pigmej authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 CTK/
5 CTK/
@@ -28,6 +28,7 @@
import errno
import threading
import traceback
+import urlparse
import pyscgi
import Cookie
@@ -121,8 +122,10 @@ def _do_handle (self):
my_thread.scgi_conn = self
my_thread.request_url = url
+ base_path = urlparse.urlsplit(url).path
for published in server._web_paths:
- if re.match (published._regex, url):
+ if re.match (published._regex, base_path):
if published._method == 'POST':
post = self._process_post()
Please sign in to comment.
Something went wrong with that request. Please try again.