--- a/src/pyams_content/component/links/interfaces/__init__.py Fri Oct 13 08:14:39 2017 +0200
+++ b/src/pyams_content/component/links/interfaces/__init__.py Fri Oct 13 08:27:20 2017 +0200
@@ -23,7 +23,7 @@
from pyams_sequence.schema import InternalReference, InternalReferencesList
from pyams_utils.schema import MailAddressField
from zope.interface import Interface
-from zope.schema import Choice, TextLine
+from zope.schema import Choice, TextLine, URI
from pyams_content import _
@@ -59,9 +59,9 @@
class IExternalLink(IBaseLink):
"""External link interface"""
- url = TextLine(title=_("Target URL"),
- description=_("URL used to access external resource"),
- required=True)
+ url = URI(title=_("Target URL"),
+ description=_("URL used to access external resource"),
+ required=True)
language = Choice(title=_("Language"),
description=_("Language used in this remote resource"),