Skip to content

Commit 68dd2fd

Browse files
committed
Append slash in the url handler
Tricks core into treating the URL as a section so it doesn't trigger 'article guess' mode.
1 parent a867859 commit 68dd2fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smd_tags.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3210,7 +3210,7 @@ function smd_tags_url_handler($evt = null, $stp = null)
32103210
$smd_tag = join('/', array_slice($parts, $pos));
32113211
smd_tags_set($smd_tag_type, $smd_tag);
32123212
$_SERVER['QUERY_STRING'] = $qatts;
3213-
$_SERVER['REQUEST_URI'] = $subpath . $parts[0]; // Drop back to section list mode
3213+
$_SERVER['REQUEST_URI'] = $subpath . $parts[0]. '/'; // Drop back to section list mode
32143214
// $_SERVER['QUERY_STRING'] = $urlnam.'='.$smd_tag .a. $urltyp.'='.$smd_tag_type . $qatts;
32153215
// $_SERVER['REQUEST_URI'] = $subpath . $parts[0] . '/?' . serverSet('QUERY_STRING');
32163216
}

0 commit comments

Comments
 (0)