- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/core/class.dc.xmlrpc.php
r1674 r1688 1644 1644 throw new Exception(__('No valid source URL provided? Try again!'), 0); 1645 1645 } 1646 1646 1647 if (!(filter_var($to_url, FILTER_VALIDATE_URL) && preg_match('!^https?://!',$to_url))) { 1648 throw new Exception(__('No valid target URL provided? Try again!'), 0); 1649 } 1650 1651 if (html::sanitizeURL(urldecode($from_url)) == html::sanitizeURL(urldecode($to_url))) { 1652 throw new Exception(__('LOL!'), 0); 1653 } 1654 1655 # Time to get things done... 1647 1656 $this->setBlog(true); 1648 1657 $tb = new dcTrackback($this->core);
Note: See TracChangeset
for help on using the changeset viewer.