diff --git a/grass7/gui/wxpython/wx.metadata/m.csw.update/m.csw.update.py b/grass7/gui/wxpython/wx.metadata/m.csw.update/m.csw.update.py index d459629e86..0d9ef4a8cc 100644 --- a/grass7/gui/wxpython/wx.metadata/m.csw.update/m.csw.update.py +++ b/grass7/gui/wxpython/wx.metadata/m.csw.update/m.csw.update.py @@ -625,7 +625,7 @@ def _strip_url(self, url): :return str: stripped url """ - return url.strip().replace('\n', '') + return url.strip().split()[0].replace('\n', '') def _handle_multiple_url(self, url): """Parse multiple url from one string and valide them and check