• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqtwindows誰得cocoapythonphprubygameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwittertestdomvb.netdirectxbtronarduinopreviewerゲームエンジン

Commit MetaInfo

Revisione35bce21a0dfecfe2b30f50f10ca9bd2d5a59696 (tree)
Time2017-08-18 04:10:45
Authorumorigu <umorigu@gmai...>
Commiterumorigu

Log Message

BugTrack/2361 Simple Pagename URL for ls2 plugin

Change Summary

Incremental Difference

--- a/plugin/ls2.inc.php
+++ b/plugin/ls2.inc.php
@@ -126,10 +126,9 @@ function plugin_ls2_get_headings($page, & $params, $level, $include = FALSE)
126126 $is_done = (isset($params["page_$page"]) && $params["page_$page"] > 0);
127127 if (! $is_done) $params["page_$page"] = ++$_ls2_anchor;
128128
129- $r_page = rawurlencode($page);
130129 $s_page = htmlsc($page);
131130 $title = $s_page . ' ' . get_pg_passage($page, FALSE);
132- $href = $script . '?cmd=read&amp;page=' . $r_page;
131+ $href = $script . '?' . pagename_urlencode($page);
133132
134133 plugin_ls2_list_push($params, $level);
135134 $ret = $include ? '<li>include ' : '<li>';