Opened 14 years ago
#3522 new enhancement
[] を含むリンクの自動リンクに対応してほしい
Reported by: | imamura623 | Owned by: | nobody |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | 指定しない | Version: | |
Keywords: | 2.13要望 | Cc: |
Description
http://sns.openpne.jp/?m=pc&a=page_fh_diary&target_c_diary_id=20308より転記
* 頂いたコメントを踏まえてタイトルの見出しを変更しました。 param[]=xxxx¶m[]=yyyy・・・・の形式で、パラメータを配列渡しできますが、 この形式、OpenPNEの自動リンクでは対応していません。 [例] http://hoge.net/search.php?keyword[]=test&keyword[]=check t_url2cmdと、t_url2aで、 一続きの[]をURLパターンに追加すると対応できます [例] - $url_pattern = '/https?:\/\/([a-zA-Z0-9\-.]+)\/?(?:[a-zA-Z0-9_\-\/.,:;~?@=+$%#!()]|&)*/'; + $url_pattern = '/https?:\/\/([a-zA-Z0-9\-.]+)\/?(?:[a-zA-Z0-9_\-\/.,:;~?@=+$%#!()]|\[\]|&)*/'; URLに[]が含まれて、それがGETの形式で表示される(容易にコピペできる)ことはあまり無いのでしょうか?
Note: See
TracTickets for help on using
tickets.