From df9793d68fb3ddafebc5471e1a21ad137b478f7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 1 Jun 2015 09:07:52 +0200 Subject: [PATCH] wcs: make sure there's a / after the domain name (#7320) --- combo/apps/wcs/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/combo/apps/wcs/models.py b/combo/apps/wcs/models.py index c4a3e2eb..fe9f89e9 100644 --- a/combo/apps/wcs/models.py +++ b/combo/apps/wcs/models.py @@ -147,6 +147,8 @@ class WcsBlurpMixin(object): sources = [] for slug, wcs_site in wcs_sites.items(): url = wcs_site.get('url') + if not url.endswith('/'): + url += '/' source = { 'slug': slug, 'parser_type': 'json',