WordPress.org

Ready to get started?Download WordPress

Forums

amr ical events lists
[resolved] Bug in amr-pluggable.php: ical url (2 posts)

  1. AutoSponge
    Member
    Posted 1 year ago #

    With latest code, ical urls do not decode properly for icons/links "addtogoogle" and ical subscription if the url has HTML entities.

    Results:
    href="http://www.google.com/calendar/render?cid=http://XXX.com/Feeds/ICal/?param=123&#38param2=abc"

    Expected:
    href="http://www.google.com/calendar/render?cid=http://XXX.com/Feeds/ICal/?param=123&param2=abc"

    Steps To reproduce:
    1. Create an agenda list with an ical url like above:
    [ical events=10 ics=webcal://XXX.com/Feeds/ICal/?param=123&param2=abc]
    2. Publish the page/post
    3. Click the images for subscription or add to google.

    Current fix/workaround:
    ln 711 amr-pluggable.php = change htmlentities to html_entity_decode
    ln 720 amr-pluggable.php = change htmlentities to html_entity_decode
    ln 732 amr-pluggable.php = change htmlentities to html_entity_decode
    ln 840 amr-pluggable.php = change htmlentities to html_entity_decode

    http://wordpress.org/extend/plugins/amr-ical-events-list/

  2. anmari
    Member
    Plugin Author

    Posted 1 year ago #

    Hi

    Yes looks like you right... update coming

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.