• Resolved afzaal24

    (@afzaal24)


    I am currently using version 2.6.9.2, where relative URLs are functioning correctly when applied to entire columns. However, after updating to version 2.6.9.3, I noticed that relative URLs no longer work, although absolute URLs do. I’ve now upgraded to the latest version, 2.6.9.4, and the issue with relative URLs persists, while absolute URLs continue to work as expected.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jenn

    (@devjenndivilife)

    Hi @afzaal24 !

    Thank you for reporting the issue. Relative URLs are now working on Link Anything.

    Please update Exclusive Addons Elementor to the latest version available

    Thread Starter afzaal24

    (@afzaal24)

    Thanks, it has been resolved in the latest version 2.6.9.5

    Hello,

    I’m using the Exclusive Addons Elementor version 2.6.9.5, and the link anything not working.
    When I debug the javascript code for doing the link :

        $('body').on('click.onWrapperLink', '[data-exad-element-link]', function(e) {
            var $wrapper = $(this), data = $wrapper.data('exad-element-link'), id = $wrapper.data('id'), anchor = document.createElement('a'), anchorReal, timeout;
            if ('undefined' === typeof data.url) {
                return false
            }
            let url = encodeURIComponent(data.url)
              , validUrl = eae_isValidHttpUrl(url);
            if (validUrl.badInput === false && validUrl.customError === false && validUrl.patternMismatch === false && validUrl.rangeOverflow === false && validUrl.rangeUnderflow === false && validUrl.stepMismatch === false && validUrl.tooLong === false && validUrl.tooShort === false && validUrl.typeMismatch === true && validUrl.valid === false && validUrl.valueMissing === false) {
                url = document.location.href.replace('#', '') + url;
                validUrl = eae_isValidHttpUrl(url)
            }
            if (validUrl.valid === false) {
                e.preventDefault();
                e.stopPropagation();
                return false
            }
            url = eae_decodeURI(url);

    The data.url has the url in the form of https://site.com/path
    The encodeURIComponent(data.url) become “https%3A%2F%2Fsite.com%2Fpath”
    the code validUrl = eae_isValidHttpUrl(url) not valid to the encoded URI and the condition will concatenate the url encoded to the current url.
    url = document.location.href.replace('#', '') + url;
    the url will be after the code : https://site.com/https%3A%2F%2Fsite.com%2Fpath

    you may use the encodeURI function instead of encodeURIComponent

    Thread Starter afzaal24

    (@afzaal24)

    @patoudss
    Yes it is not working on absolute url now.
    It is working on relative url on latest version.
    Latest version also has error on List Group widget.

    Stable version is 2.6.9?

    Plugin Author Jenn

    (@devjenndivilife)

    Closing this thread becasue the issue has been resolved on 2.6.9.5

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘After the update the elements using LINK ANYTHING links got broke’ is closed to new replies.