Plugin Directory

Changeset 1366824


Ignore:
Timestamp:
03/08/2016 03:40:24 PM (10 years ago)
Author:
wpicalavailability
Message:

Fixed importing URLs with special characters or blank spaces

Location:
wp-ical-availability
Files:
325 added
3 edited

Legend:

Unmodified
Added
Removed
  • wp-ical-availability/trunk/controllers/calendar/calendar-save.php

    r1363945 r1366824  
    22global $wpdb;
    33
    4 if(isset($_POST['icalendar_feed'])) $calendarOptions['icalendar_feed'] = sanitize_text_field($_POST['icalendar_feed']);
     4if(isset($_POST['icalendar_feed'])) $calendarOptions['icalendar_feed'] = esc_url( sanitize_text_field($_POST['icalendar_feed']));
    55$calendarTitle = sanitize_text_field($_POST['calendarTitle']);
    66
  • wp-ical-availability/trunk/readme.txt

    r1363945 r1366824  
    44Requires at least: 3.0
    55Tested up to: 4.4.2
    6 Stable tag: 0.1
     6Stable tag: 0.2
    77
    88This calendar imports an iCal feed from an external website, like Airbnb, and shows the availability based on that feed.
     
    6767== Changelog ==
    6868
     69= 0.2 =
     70* Fixed importing URLs with special characters or blank spaces
     71
    6972= 0.1 =
    7073* First release
     
    7275== Upgrade Notice ==
    7376
     77= 0.2 =
     78* Fixed importing URLs with special characters or blank spaces
     79
    7480= 0.1 =
    7581* First release
  • wp-ical-availability/trunk/wp-ical-availability.php

    r1363945 r1366824  
    44 * Plugin URI:  http://www.wpicalavailability.com
    55 * Description: WP iCal Availability
    6  * Version:     0.1
     6 * Version:     0.2
    77 * Author:      WP iCal Availability
    88 * Author URI:  http://www.wpicalavailability.com
Note: See TracChangeset for help on using the changeset viewer.