For non-utf-8 sites, fix up Pub links to use correct encoding.
{Store}{Encoding}, then links to /pub files will be generated with the incorrect encoding.
Even on non-utf-8 sites, Foswiki operates fully with UNICODE and utf-8 encoding in the core and on the web interface. /pub attachment links will be generated assuming the filesnames are utf-8 encoded. This plugin provides a completePageHandler that finds utf-8 encoded links to /pub attachments and re-encodes them to the {Store}{Encoding}.
Enable this plugin to perform the link fixup. It can be safely enabled regardless of the{Store}{Encoding}.
If the Plugin detects that the {Store}{Encoding} is utf-8, it quietly disables its completePageHandler.
This is not a complete fix to the issue.  It is still strongly recommended that sites convert
their Store to utf-8 to avoid these types of encoding issues.
{Plugins}{PubLinkFixupPlugin}{Debug}. Enable to record before/after of each rewritten link to the Foswiki debug log.
Open configure, and open the "Extensions" section. Use "Find More Extensions" to get a list of available extensions. Select "Install".
If you have any problems, or if the extension isn't available inconfigure, then you can still install manually from the command-line. See http://foswiki.org/Support/ManuallyInstallingExtensions for more help.
| Change History: | |
| 1.00 (14 Sep 2015): | Initial version | 
| Author | GeorgeClark | 
| Version | 1.00 | 
| Release | 14 Sep 2015 | 
| Repository | https://github.com/foswiki/distro | 
| Copyright | %$CREATEDYEAR%, GeorgeClark, All Rights Reserved | 
| License | GPL (GNU General Public License) | 
| Home | http://foswiki.org/Extensions/PubLinkFixupPlugin | 
| Support | http://foswiki.org/Support/PubLinkFixupPlugin | 
 Copyright © by the contributing authors. All material on this site is the property of the contributing authors.
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.