Namazu-devel-ja(旧)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "&" must be "&" in <A href="...">, etc (namazu-bugs-ja#55)
- From: tietew@xxxxxxxxxx
- Date: Sat, 28 Apr 2001 04:45:12 +0900 (JST)
- X-ml-name: namazu-devel-ja
- X-mail-count: 01398
On Fri, 27 Apr 2001 00:09:30 +0900 (JST)
In article <20010426150930.746BC38945@xxxxxxxxxxxxxxxx>
Subject: [namazu-devel-ja] "&" must be "&" in <A href="...">, etc (namazu-bugs-ja#55)
webmaster@xxxxxxxxxx wrote:
> 結果出力中の URI の & が正しくエスケープされているかまでは見ていません。
駄目みたいです。
これで他にマズい影響は出ますか?
--- result.c.org Wed Sep 6 19:11:15 2000
+++ result.c Sat Apr 28 04:43:38 2001
@@ -142,8 +142,8 @@
/*
* Do not emphasize keywords in URI.
- * And do not encode entity in URI.
+ * And encode entities in URI.
*/
- if (strcasecmp(field, "uri") != 0) {
- if (is_htmlmode()) {
+ if (is_htmlmode()) {
+ if (strcasecmp(field, "uri") != 0) {
emphasize(buf);
}
ミ☆ Tietew ☆ミ
Mail: tietew@xxxxxxxxxx / tietew@xxxxxxxx
Web : http://www.tietew.net/ (Tietew Windows Lab.)
PGP fingerprint: 26CB 71BB B595 09C4 0153 81C4 773C 963A D51B 8CAA