SourceForge logo
SourceForge logo
Menu

phpwiki-checkins

From: Geoffrey T. D. <da...@us...> - 2001年11月14日 18:48:55
Update of /cvsroot/phpwiki/phpwiki/lib
In directory usw-pr-cvs1:/tmp/cvs-serv23631/lib
Modified Files:
	interwiki.php 
Log Message:
Add support for '%s' (which gets replaced by rhs of interwiki link)
in interwiki map URLs. (This is needed for the new RFC entry in
interwiki.map.)
Index: interwiki.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/interwiki.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** interwiki.php	2001年09月19日 02:36:24	1.7
--- interwiki.php	2001年11月14日 18:48:47	1.8
***************
*** 31,35 ****
 // Urlencode page only if it's a query arg.
 if (strstr($url, '?'))
! $url .= rawurlencode($page);
 else
 $url .= $page;
--- 31,38 ----
 // Urlencode page only if it's a query arg.
 if (strstr($url, '?'))
! $page = rawurlencode($page);
! 
! if (strstr($url, '%s'))
! $url = sprintf($url, $page);
 else
 $url .= $page;
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /