Projects
Kolab:16:Testing:Candidate
iRony
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 13
View file
iRony.spec
Changed
@@ -38,7 +38,7 @@ %global upstream_version 0.4.8 Name: iRony -Version: 0.4.8.5 +Version: 0.4.8.6 Release: 1%{?dist} Summary: DAV for Kolab Groupware
View file
debian.changelog
Changed
@@ -1,4 +1,4 @@ -irony (0.4.8.5-1~kolab1) unstable; urgency=low +irony (0.4.8.6-1~kolab1) unstable; urgency=low * New release
View file
iRony-0.4.8.tar.gz/lib/Kolab/DAV/Auth/HTTPBasic.php
Changed
@@ -158,7 +158,7 @@ { // Get IMAP host $rcube = rcube::get_instance(); - $host = $rcube->config->get('default_host', 'localhost'); + $host = $rcube->config->get('imap_host', $rcube->config->get('default_host', 'localhost')); if (is_array($host)) { list($user, $domain) = explode('@', $username); @@ -203,10 +203,11 @@ $login_lc = $rcube->config->get('login_lc'); $default_port = $rcube->config->get('default_port', 143); $username_domain = $rcube->config->get('username_domain'); + $ssl = null; // parse $host $a_host = parse_url($host); - if ($a_host'host') { + if (!empty($a_host'host')) { $host = $a_host'host'; $ssl = (isset($a_host'scheme') && in_array($a_host'scheme', array('ssl','imaps','tls'))) ? $a_host'scheme' : null; if (!empty($a_host'port')) {
View file
iRony-0.4.8.tar.gz/lib/Kolab/DAV/Node.php
Changed
@@ -161,7 +161,7 @@ */ protected function fileData($name, $data = null) { - if ($this->data && $this->data'type') { + if ($this->data && !empty($this->data'type')) { $type = $this->data'type'; } else { @@ -170,11 +170,10 @@ // $data can be a resource or a string if (is_resource($data)) { - // $data can be php://input or php://temp - // php://input is not seekable, we need to "convert" - // it to seekable resource, fstat/rewind later will work + // It can be php://input or php://temp resource stream. + // php://input is seekable on recent PHP versions, but fstat() fails so we can't use it $meta = stream_get_meta_data($data); - if (!$meta'seekable') { + if (empty($meta'seekable') || fstat($data) === false) { $new_data = fopen('php://temp','r+'); stream_copy_to_stream($data, $new_data); rewind($new_data);
View file
iRony.dsc
Changed
@@ -2,7 +2,7 @@ Source: irony Binary: irony Architecture: all -Version: 1:0.4.8.5-1~kolab1 +Version: 1:0.4.8.6-1~kolab1 Maintainer: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> Uploaders: Paul Klos <kolab@klos2day.nl> Homepage: http://www.kolab.org/
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.