|
|
 |
 |
 |
manilaSuite.staticRendering.convertUrl
When calculating a filename of a statically rendered page, the file element to be converted needs to be url decoded first, otherwise the length calculations will be incorrect and the url will be truncated.
Amended script follows
| |
«Pass this a filtered URL minus a suffix, this script will fix the filename and add the suffix. |
| |
local (ctFields = string.countFields (url, '/')) |
| |
local (fname = string.nthField (url, '/', ctFields)) |
| |
url = string.popSuffix (url, '/') |
| |
fname = manilaSuite.staticRendering.convertFilename (fname) |
Relative to Frontier version 9.7b10
|