WordPress.org

Forums

Pinterest Lightbox
URL Encoding Needed (1 post)

  1. Marios Alexandrou
    Member
    Posted 2 years 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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Pinterest Lightbox
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

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

Tags

No tags yet.