WordPress.org

Ready to get started?Download WordPress

Forums

Pinterest Lightbox
URL Encoding Needed (1 post)

  1. Marios Alexandrou
    Member
    Posted 10 months ago #

    I believe to be extra safe the URL of the page being sent to Pinterest should be encoded e.g. a URL with a hash will fail at the moment. In particular, this file jquery.pinterest-lightbox.js should be updated

    From:
    ?url='+document.URL+'&media=

    To:
    ?url='+encodeURIComponent(document.URL)+'&media=

    I know you're using a library file from a third-party so technically this isn't "your" bug, but I thought I'd let you know.

    http://wordpress.org/plugins/pinterest-lightbox/

Reply

You must log in to post.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 10 months ago by Marios Alexandrou
  • This topic is not resolved
  • WordPress version: 3.6.1

Tags

No tags yet.