プロジェクト

全般

プロフィール

Vote #68061

未完了

Hyperlinks with "%" or "!" at the end

Admin Redmine さんがほぼ2年前に追加. ほぼ2年前に更新.

ステータス:
New
優先度:
低め
担当者:
-
カテゴリ:
Wiki_1
対象バージョン:
-
開始日:
2010/09/08
期日:
進捗率:

0%

予定工数:
category_id:
1
version_id:
0
issue_org_id:
6330
author_id:
4
assigned_to_id:
0
comments:
3
status_id:
1
tracker_id:
3
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

I've searched the issues, wiki and forum but couldn't find any help regarding an issue when inserting hyperlinks:

When you insert a link that ends with a symbol, e.g. "!" or "%", then the Wiki interprets this as punctuation rather than as part of the hyperlink. I've tried various ways of encapsulating the link but none seems to work.

Examnple: http://es.farnell.com/yageo-phycomp/can4311129200431k/antena-12-x-4-433mhz/dp/1282674?crosssellid=1282674&crosssell=true&in_merch=truex%x%

A simple patch would be nice that allows inserting hyperlinks as they are, e.g. by placing them into inverted commas or placing the full HTML tag.


journals

I just have got same kind of wiki formatting issue with the 'source' tag and filenames containing whitespaces in the repository (unfortunately). Only first part of urls where considered links. I tried to replace the spaces with %20; html entities but they got escaped. It's the same for usual hyperlinks:

source:trunk/example_file name
http://www.redmine.org/example_file name

Not exactly the same problem as you reported but your proposal would fix it too.

Eric
--------------------------------------------------------------------------------
Eric Voisard wrote:
> I just have got same kind of wiki formatting issue with the 'source' tag and filenames containing whitespaces in the repository (unfortunately). Only first part of urls where considered links. I tried to replace the spaces with %20; html entities but they got escaped. It's the same for usual hyperlinks:
>
> source:trunk/example_file name
> http://www.redmine.org/example_file name
>
> Not exactly the same problem as you reported but your proposal would fix it too.
>
> Eric

I don't found this bug... If i write a link with %20 instead of space the the url is correct..
example:

http://example.domain.tld/apple%20pear coool
I get an url: http://example.domain.tld/apple%20pear << with space
and a strng "coool" [exclude url]
--------------------------------------------------------------------------------
'Hyperlinks with "%" or "!" at the end'
fixed at http://github.com/Yitsushi/redmine/commit/5f57471d9c4ad4cf74042242bc697841b6516703
--------------------------------------------------------------------------------

Admin Redmine さんがほぼ2年前に更新

  • カテゴリWiki_1 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0