src/Server/js/caliban.js
/**
         * To prevent Javascript Error: Uncaught URIError: URI malformed when encoding is not UTF-8. Use this method
         * instead of decodeWrapper if a text could contain any non UTF-8 encoded characters eg
         * a URL like http://apache.caliban/test.html?%F6%E4%FC or a link like
         * <a href="test-with-%F6%E4%FC/story/0">(encoded iso-8859-1 URL)</a>
         */
To prevent Javascript Error: Uncaught URIError: URI malformed when encoding is not UTF-8.
To prevent Javascript Error : Uncaught URIError : URI malformed when encoding is not UTF - 8 .
function safeDecodeWrapper(url) {
            try {
                return decodeWrapper(url);
            } catch (e) {
                return unescape(url);
            }
        }
function safeDecodeWrapper ( url ) { try { return decodeWrapper ( url ) ; } catch ( e ) { return unescape ( url ) ; } }
To prevent Javascript Error: Uncaught URIError: URI malformed when encoding is not UTF-8.
To prevent Javascript Error : Uncaught URIError : URI malformed when encoding is not UTF - 8 .