mirror of
https://github.com/flynx/pWiki.git
synced 2025-12-20 18:11:41 +00:00
now we drop the trailing '/' in paths...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
004c854eb7
commit
816dc731c7
@ -104,6 +104,9 @@ module = {
|
||||
// NOTE: the last '>>' will be retained...
|
||||
: res.push(e)
|
||||
return res }, [])
|
||||
// clear the trailing '/'...
|
||||
path.at(-1) == ''
|
||||
&& path.pop()
|
||||
/*/ XXX NORMCACHE...
|
||||
var res = format == 'string' ?
|
||||
// special case: root -> keep '/'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user