Commits

Peter Bex  committed 0d3fe35

Add some extra validation to ensure that empty strings don't get passed down to svn (which currently causes an assertion failure in libsvn, goddammit)

  • Participants
  • Parent commits cc0b448

Comments (0)

Files changed (1)

File pseudo-meta-egg-info.scm

   (or (and-let* ((params (uri-query (request-uri (current-request))))
                  (port (response-port (current-response)))
                  (egg-name (alist-ref 'egg params))
+                 ((not (string=? egg-name "")))
                  (tag-dir (update-uri (uri-reference "")
                                       path: (list egg-name "tags")))
                  (repo-uri (uri-reference (egg-repo)))
   (or (and-let* ((params (uri-query (request-uri (current-request))))
                  (port (response-port (current-response)))
                  (egg-name (alist-ref 'egg params))
+                 ((not (string=? egg-name "")))
                  (egg-release (alist-ref 'release params))
+                 ((not (string=? egg-release "")))
                  (files-dir (update-uri (uri-reference "")
                                         path: (list egg-name "tags" egg-release)))
                  (repo-uri (uri-reference (egg-repo)))