Groups
Groups
Sign in
Groups
Groups
Redmine Users (japanese)
Conversations
About
Send feedback
Help
外部サイトのURLが直リンクされるため、外のサイトにリファラが送られる
89 views
Skip to first unread message
saka...@gmail.com
unread,
Jan 12, 2009, 8:18:18 PM
1/12/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Redmine Users (japanese)
はじめまして、酒宮です。
最近、プロジェクトのTODO管理にredmineを使い始めました。
気になったこととして、チケットやwikiなどにおいて、外部サイトのURLを書くと直リンクされます。
自動リンクはして欲しいのですが、外のサイトにリファラが送られるのは困るため、間に1つ転送サイトを挟もうと思います。
そこでなのですが、ソースのどこをどう変えるとこの機能を実装できますでしょうか。
おそらくlib/redcloth3.rbのファイルを触るのだと思いますが、うまく変化しませんでした。
もしおわかりになる方いらっしゃいましたら、教えていただけませんでしょうか。
行いたいことをまとめます。
http://example.com
へのリンクが張られるときには、
<a class="external" href="
http://example.com
">
http://example.com
</a>
<br />
ではなく
<a class="external" href="
http://example.jp/redirect.php?http://
example.com
">
http://example.com
</a> <br />
のようにクッションを挟みたい。
何卒よろしくお願いします。
Reply all
Reply to author
Forward
0 new messages