• Resolved sridhar_rajagopal

    (@sridhar_rajagopal)


    Hi,

    I’m using TablePress and also got your Auto Update and Responsive Tables extensions, and have been very happy with your product!

    The auto update feature, unfortunately, has been having some issues.

    One of the columns of the table includes a <a href> element, except, I use a non http: link (using an iphone/ipad app url) – for example:

    <a href="myappname://www.mysite.com/myfile.json"> Click to open in myappname</a>

    (The myappname url tells ios to open it using the registered app)

    However, when I use Auto Import, the link that is imported is

    <a href="//www.mysite.com/myfile.json"> Click to open in myappname</a>

    – i.e. it has cut off the myappname:

    Is there some way I can force it to retain it as-is, without automatically trying to modify it?

    Thanks,
    Sridhar

    https://ww.wp.xz.cn/plugins/tablepress/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter sridhar_rajagopal

    (@sridhar_rajagopal)

    This might be because wordpress automatically strips non-whitelisted protocols from urls.

    The following link tells how to add a non-standard url protocol to the whitelist –

    Quick Tip: How to add a Skype URI Link to your WordPress Menu

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Yes, this is most likely related to the allowed protocols. As the auto-import runs with the access rights of an unprivileged user, this might also factor in.

    As TablePress can not simply add support for other protocols, I suggest to do this yourself using the code from that post.

    Regards,
    Tobias

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Tablepress auto import removes non http href’ is closed to new replies.