rehamaltamimi / gwtwiki

Automatically exported from code.google.com/p/gwtwiki
0 stars 0 forks source link

protocol-relative URLs not accepted when creating links #89

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. parse [//en.wikipedia.org/w/index.php?title=Main_Page]

What is the expected output? What do you see instead?
expected (bliki-style):
<a class="externallink" href="//en.wikipedia.org/w/index.php?title=Main_Page" 
rel="nofollow" 
title="//en.wikipedia.org/w/index.php?title=Main_Page">en.wikipedia.org/w/index.
php?title=Main_Page</a>

actual:
[//en.wikipedia.org/w/index.php?title=Main_Page]

What version of the product are you using? On what operating system?
3.0.18-SNAPSHOT

Please provide any additional information below.
Such URLs could originate from e.g. [{{fullurl:Main_Page}}], often used by 
Wikipedia page/template contents

Original issue reported on code.google.com by nico.kru...@googlemail.com on 10 May 2012 at 9:40

GoogleCodeExporter commented 8 years ago
Commited r5108.
Is this what you expected?

Original comment by axelclk@gmail.com on 11 May 2012 at 3:13

GoogleCodeExporter commented 8 years ago
yes, works like a charm
thank you once again

Original comment by nico.kru...@googlemail.com on 14 May 2012 at 4:11

GoogleCodeExporter commented 8 years ago

Original comment by axelclk@gmail.com on 3 Jul 2012 at 5:34