Artifact [b546f85a26]
Not logged in

Artifact b546f85a26b56d21a5ff86aa5a1360684c2d5162:

Ticket change [b546f85a26] - Ticket [8967ea1df4] i18n, webui: link to tag with non-ascii chars is broken in timeline status still Open with 1 other change by anonymous 2011-05-31 06:31:40.
D 2011-05-31T06:31:40.053
J +comment \n\n<hr\s/><i>anonymous\sclaiming\sto\sbe\stsul\sadded\son\s2011-05-31\s06:31:40\sUTC:</i><br\s/>\nThere\sis\sa\sbug\sin\sthe\s<code>timeline.c:www_print_timeline()</code>\swith\sa\scall\sto\s<code>blob_appendf</code>:\sthe\sformat\sspecifier\s'%t'\s(httpize)\sis\sused\swith\sthe\sprecision\sof\sthe\sinput\sstring\slength.\sBut\sthe\soutput\sstring\scan\sobviously\sbe\slarger.\r\n\r\nHere\sis\sthe\sworking\ssolution\sremoving\sthe\sprecision\sspecifier\sfrom\sthe\s'%t':\r\n<verbatim>\r\nV:\\dvcs\\src>fossil\sinfo\r\nproject-name:\sFossil\r\nrepository:\s\s\sR:/distr/lang/dvcs/fossil/fossil.fsl\r\nlocal-root:\s\s\sV:/dvcs/\r\nuser-home:\s\s\s\sC:/Documents\sand\sSettings/Tsul/Application\sData\r\nproject-code:\sCE59BB9F186226D80E49D1FA2DB29F935CCA0333\r\nserver-code:\s\sdde830bac2d739261e1afb9192dd3facad083e62\r\ncheckout:\s\s\s\s\s0448438c56d836a8a8261a0dd97bd82f320d832a\s2011-05-28\s18:51:22\sUTC\r\nparent:\s\s\s\s\s\s\s6d35cde78d475f86f75746e65b6e37ca71f8406b\s2011-05-28\s17:56:04\sUTC\r\nchild:\s\s\s\s\s\s\s\s0e23d0721318eecdfef70e23da71dfb32110ecfb\s2011-05-29\s07:39:25\sUTC\r\nchild:\s\s\s\s\s\s\s\s3abab7e177f063e158fea94cfd13ab5d184f6266\s2011-05-30\s16:46:50\sUTC\r\nchild:\s\s\s\s\s\s\s\s62284df93a91fbb86ebb66a645891900c559d840\s2011-05-30\s07:04:26\sUTC\r\ntags:\s\s\s\s\s\s\s\s\strunk,\srelease\r\ncomment:\s\s\s\s\s\sRelease\s(user:\sdrh)\r\n\r\nV:\\dvcs\\src>fossil\sdiff\stimeline.c\r\n---\stimeline.c\r\n+++\stimeline.c\r\n@@\s-300,12\s+300,12\s@@\r\n\s\s\s\s\s\s\s\s\sblob_zero(&links);\r\n\s\s\s\s\s\s\s\s\swhile(\sz\s&&\sz[0]\s){\r\n\s\s\s\s\s\s\s\s\s\s\sfor(i=0;\sz[i]\s&&\s(z[i]!=','\s||\sz[i+1]!='\s');\si++){}\r\n\s\s\s\s\s\s\s\s\s\s\sif(\szThisTag==0\s||\smemcmp(z,\szThisTag,\si)!=0\s||\szThisTag[i]!=0\s){\r\n\s\s\s\s\s\s\s\s\s\s\s\s\sblob_appendf(&links,\r\n-\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s"<a\shref=\\"%s/timeline?r=%.*t&nd&c=%s\\">%.*h</a>%.2s",\r\n-\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sg.zTop,\si,\sz,\szDate,\si,\sz,\s&z[i]\r\n+\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s"<a\shref=\\"%s/timeline?r=%t&nd&c=%s\\">%.*h</a>%.2s",\r\n+\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sg.zTop,\sz,\szDate,\si,\sz,\s&z[i]\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s);\r\n\s\s\s\s\s\s\s\s\s\s\s}else{\r\n\s\s\s\s\s\s\s\s\s\s\s\s\sblob_appendf(&links,\s"%.*h",\si+2,\sz);\r\n\s\s\s\s\s\s\s\s\s\s\s}\r\n\s\s\s\s\s\s\s\s\s\s\sif(\sz[i]==0\s)\sbreak;\r\n</verbatim>
K 8967ea1df4f51af1ad3cbad78e0bcc582c6418b6
U anonymous
Z ca43ea6c26d0ce99c81cf9af27dabbb8