changeset 452:738fdb628b4e

fixed converter for https: image urls imported from: moin--main--1.5--patch-456
author Thomas Waldmann <tw@waldmann-edv.de>
date Mon, 20 Feb 2006 09:29:22 +0000
parents f264539ad649
children 493972205fac
files ChangeLog MoinMoin/converter/text_html_text_x_moin.py docs/CHANGES
diffstat 3 files changed, 17 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Feb 20 09:24:06 2006 +0000
+++ b/ChangeLog	Mon Feb 20 09:29:22 2006 +0000
@@ -2,6 +2,21 @@
 # arch-tag: automatic-ChangeLog--arch@arch.thinkmo.de--2003-archives/moin--main--1.5
 #
 
+2006-02-20 10:29:22 GMT	Thomas Waldmann <tw@waldmann-edv.de>	patch-456
+
+    Summary:
+      fixed converter for https: image urls
+    Revision:
+      moin--main--1.5--patch-456
+
+    fixed converter for https: image urls
+    
+
+    modified files:
+     ChangeLog MoinMoin/converter/text_html_text_x_moin.py
+     docs/CHANGES
+
+
 2006-02-20 10:24:06 GMT	Thomas Waldmann <tw@waldmann-edv.de>	patch-455
 
     Summary:
--- a/MoinMoin/converter/text_html_text_x_moin.py	Mon Feb 20 09:24:06 2006 +0000
+++ b/MoinMoin/converter/text_html_text_x_moin.py	Mon Feb 20 09:29:22 2006 +0000
@@ -1166,7 +1166,7 @@
                     pass #print name, data, filename, alt
             raise ConvertError("Unknown smiley icon '%s'" % filename)
         # Image URL
-        elif src and src.startswith("http:") and wikiutil.isPicture(src):
+        elif src and src.startswith("http") and wikiutil.isPicture(src): # matches http: and https: !
             self.text.extend([self.white_space, src, self.white_space])
         else:
             raise ConvertError("Strange image src: '%s'" % src)
--- a/docs/CHANGES	Mon Feb 20 09:24:06 2006 +0000
+++ b/docs/CHANGES	Mon Feb 20 09:29:22 2006 +0000
@@ -64,7 +64,7 @@
       "re" module limitation of having a maximum of 100 named groups in a RE.
     * Fixed a TypeError which occurred for formatters that dislike None values.
       (cf. http://moinmoin.wikiwikiweb.de/MoinMoinBugs/PythonErrorEditingFrontPage)
-
+    * fixed converter error for https:... image urls
 
 Version 1.5.2: