Bug#698343: owncloud sends wrong content-type

2013-12-02 Thread David Prévot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Control: tags -1 wontfix

Le 27/06/2013 16:52, David Prévot a écrit :

 Thanks for your extra information, I’ve been able to reproduce your
 issue and just submitted it upstream, do not hesitate to follow up there
 directly (URL on top of this message).

After some discussion, upstream was not convinced by the request and
declared they “have to rely on a properly configured webserver.” [0]

   0: https://github.com/owncloud/core/issues/3878#issuecomment-29611352

Regards

David

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAEBCAAGBQJSnRC1AAoJEAWMHPlE9r08NfsH/3gSRpp/+BSHOCaKPWy9ntFr
Kzr+8MkApnP7zWiuJELLAj9gHIyGLCvwK/UMnXSP0EFX+r9IZN44aUgNtwjuo258
UeCqx0nK9269UqxIp+8aSSWw2OoFVVJdL+PgwvdFp9/RtGm7Trz1/gwhxF6TrYYD
nd6I2mNxoeFovqPzveXZwjs6I1/H3LJ9dd9KQf9T9Vs8wp3oswalv6/2G+oDbKQN
U4j1chDjdhpsOaZkHOELf0uGRI9efIaXbq9c5k1NSIeAMeYrLtol7WEmjaPS0ebz
XmabxNDANG2gxi1Wmrk0T5srO5/Fc8nkaYBN2G8rCGY8Ajs86R+K7M+LtX6dwvY=
=rvij
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#698343: [Pkg-owncloud-maintainers] Bug#698343: owncloud: sends wrong content-type

2013-06-27 Thread David Prévot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Control: forwarded -1 https://github.com/owncloud/core/issues/3878
Control: tags -1 - moreinfo

Hi Michael,

Le 27/06/2013 00:12, Michael Tsang a écrit :

 The default content-type can be set in php.ini for all php scripts:
 http://www.php.net/manual/en/ini.core.php#ini.default-mimetype

Thanks for your extra information, I’ve been able to reproduce your
issue and just submitted it upstream, do not hesitate to follow up there
directly (URL on top of this message).

Regards

David

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAEBCAAGBQJRzKYVAAoJEAWMHPlE9r08wbQH/RTsIa6usq6GAQsPXpHSZX0o
P8x9CjmthhmLzuMzs/Dwxtakzvi/dYYe/8Km/4IrLTXxdQml59ZAYuabSJ+c8zQi
zbTUZMiMmTAZ4fTLTvEmf0Y3z4D6fO2fxF21Ti5CtCKVepMcJ7clHMReXijLf91N
ykqRwT8msrYUzp7oWNvyz0MR+clDrPW9TQBMoD+K/Yz2eK0H/RwACuuAS7ukF3CT
nEDDlIv8fpyg8NqSLRaAx1bKT9L04rIHuQH/Onzc0qkCXg2Gt+tRU/1WeaZwDvzs
I8rxnf9nqoYwKDjoFTpUnKzBGOg/nktNl1RClMTn4GiMPy13GgcDBTSyDAHZL+4=
=E/zy
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#698343: owncloud: sends wrong content-type

2013-06-26 Thread Michael Tsang
Dear David,

I always set the content-type explicitly in all my PHP scripts since my 
website is written with a variety of codes including HTML, XHTML, plain text, 
etc. For debugging purposes, my server is set to send text/plain as default, 
and all others including phpmyadmin and wordpress works painlessly. The bug  
means the script fails to set the appropriate content-type. The server 
administrator should not need to know what content-type is needed for 
owncloud. The only expected thing is that it work in a modern browser, no 
matter it is HTML, XHTML, or some other XYZ markup.

As my server has now become stable, I am not going to install anything from 
experimental on it. If I have spare time, I may set up a virtual machine to 
test it.

Regards,
Michael

On Wednesday 26 June 2013 03:40:40 David Prévot wrote:
 Control: tags -1 moreinfo
 
 Hi Michael,
 
 On Thu, Jan 17, 2013 at 06:09:35PM +0800, Michael Tsang wrote:
  I have just installed owncloud on this server. However, when I try to
  access it from a web browser, it shows the html code as text. That means
  the php script fails to set the content-type.
 
 This looks like an issue in your web server configuration, rather than
 ownCloud. Can you reproduce this issue with other PHP scripts? If not,
 can you reproduce this issue with ownCloud 5 available in experimental?
 
 Regards
 
 David


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#698343: owncloud: sends wrong content-type

2013-06-26 Thread David Prévot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Control: severity -1 wishlist
Control: tags -1 upstream

Hi Michael, thanks for your quick answer,

Le 26/06/2013 06:55, Michael Tsang a écrit :

 For debugging purposes, my server is set to send text/plain as default,

Can you please give a pointer to set up such a default? DefaultType
doesn’t seem to be an option anymore [0], and adding php to text/plain
in /etc/mime.types doesn’t seem enough to reproduce your issue.

0: https://httpd.apache.org/docs/current/mod/core.html#defaulttype

 As my server has now become stable, I am not going to install anything from 
 experimental on it.

ownCloud 4 is EOL and not in stable.

Regards

David

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAEBCAAGBQJRyyiEAAoJEAWMHPlE9r08w3cH/0Lr/s69D+bePAIsz+5AYR3Q
SyP0LpBifuTG4suRVp3RhtQipzi5oZE/hzIwvp8z3AOxFSvNAiQt1Zd50g1B5WF7
F8cEYMHKId119+K92TsSE8REBGovawZf6nUVnSujbqXALmAX84UdTMJy2FpwAwvp
j3bE7DJND0x5m45TGOqZrwmF1ehPmScNvSKukAuLgivmVTmPGFH5KhBDcOc13uHQ
axILG6rxqbnsaT+29YAZEX8vI/eGCWk8/UPdtLXy9l3Va5mO/U5CPXhhcJc2c/lE
x5hy+FrUh/JOZyKEMpkSws1Act1Z9tZfYAiW2g+Ukkxc9ETuWDDFjXc+UIvuHpE=
=L5Lt
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#698343: owncloud: sends wrong content-type

2013-06-26 Thread Michael Tsang
Dear David,

 Hi Michael, thanks for your quick answer,
 
 Le 26/06/2013 06:55, Michael Tsang a écrit :
  For debugging purposes, my server is set to send text/plain as default,
 
The default content-type can be set in php.ini for all php scripts:
http://www.php.net/manual/en/ini.core.php#ini.default-mimetype

Just change it to text/plain

 Can you please give a pointer to set up such a default? DefaultType
 doesn’t seem to be an option anymore [0], and adding php to text/plain
 in /etc/mime.types doesn’t seem enough to reproduce your issue.
 
 0: https://httpd.apache.org/docs/current/mod/core.html#defaulttype
 
  As my server has now become stable, I am not going to install anything
  from experimental on it.
 
 ownCloud 4 is EOL and not in stable.

That means I have to wait for another 2 years before I can set up owncloud in 
my production server again.

Regards,
Michael


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#698343: owncloud: sends wrong content-type

2013-06-25 Thread David Prévot
Control: tags -1 moreinfo

Hi Michael,

On Thu, Jan 17, 2013 at 06:09:35PM +0800, Michael Tsang wrote:

 I have just installed owncloud on this server. However, when I try to access
 it from a web browser, it shows the html code as text. That means the php 
 script
 fails to set the content-type.

This looks like an issue in your web server configuration, rather than
ownCloud. Can you reproduce this issue with other PHP scripts? If not,
can you reproduce this issue with ownCloud 5 available in experimental?

Regards

David


signature.asc
Description: Digital signature


Bug#698343: owncloud: sends wrong content-type

2013-01-17 Thread Michael Tsang
Package: owncloud
Version: 4.0.4debian2-3.2
Severity: important

Dear Maintainer,

I have just installed owncloud on this server. However, when I try to access
it from a web browser, it shows the html code as text. That means the php script
fails to set the content-type.

Regards,
Michael

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_HK.UTF-8, LC_CTYPE=en_HK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages owncloud depends on:
ii  apache2-mpm-prefork [httpd]  2.2.22-12
ii  libjs-jquery 1.7.2+dfsg-1
ii  libjs-jquery-jplayer 2.1.0-1
ii  libjs-jquery-ui  1.8.ooops.21+dfsg-2
ii  libphp-phpmailer 5.1-1
ii  owncloud-mysql   4.0.4debian2-3.2
ii  php-crypt-blowfish   1.1.0~RC2-1
ii  php-getid3   1.9.3-1
ii  php-mdb2 2.5.0b3-2
ii  php-mdb2-schema  0.8.5-1
ii  php-pear 5.4.4-10
ii  php-sabredav 1.6.2-3
ii  php-xml-parser   1.3.4-6
ii  php5 5.4.4-10
ii  php5-curl5.4.4-10
ii  php5-gd  5.4.4-10

Versions of packages owncloud recommends:
ii  postfix [mail-transport-agent]  2.9.3-2.1

owncloud suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#698343: owncloud: sends wrong content-type

2013-01-17 Thread Diederik de Haas
On Thursday 17 January 2013 11:09:35 Michael Tsang wrote:
 I have just installed owncloud on this server. However, when I try to
 access it from a web browser, it shows the html code as text. That means
 the php script fails to set the content-type.

What's the output of aptitude search ~iphp ?


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#698343: owncloud: sends wrong content-type

2013-01-17 Thread Michael Tsang
i A libapache2-mod-php5- server-side, 
HTML-embedded scripting language (Apache 2 module)  
i A libphp-phpmailer   - full featured 
email transfer class for PHP   
i A libphp-snoopy  - Snoopy is a PHP 
class that simulates a web browser   
i A php-crypt-blowfish - Allows for quick 
two-way blowfish encryption without requiring th
i A php-getid3 - PHP script to 
extract informations from multimedia files 
i   php-gettext- read gettext MO 
files directly, without requiring anything other 
i A php-mdb2   - merge of the PEAR 
DB and Metabase php database abstraction layers
i A php-mdb2-driver-mysql  - PHP PEAR module 
to provide a MySQL driver for MDB2   
i A php-mdb2-schema- XML based 
database schema manager
i A php-pear   - PEAR - PHP 
Extension and Application Repository  
i A php-sabredav   - SabreDAV allows 
you to easily add WebDAV support to a PHP applica
i A php-xml-dtd- parsing of DTD 
files and DTD validation of XML files 
i A php-xml-parser - PHP PEAR module 
for parsing XML  
i A php-xml-serializer - swiss-army knife 
for reading and writing XML files   
i A php5   - server-side, 
HTML-embedded scripting language (metapackage)  
i A php5-cli   - command-line 
interpreter for the php5 scripting language 
i A php5-common- Common files for 
packages built from the php5 source 
i A php5-curl  - CURL module for 
php5 
i A php5-gd- GD module for 
php5   
i   php5-imagick   - ImageMagick 
module for php5  
i A php5-ldap  - LDAP module for 
php5 
i A php5-mcrypt- MCrypt module for 
php5   
i A php5-mysql - MySQL module for 
php5
i   phpldapadmin   - web based 
interface for administering LDAP servers   
i   phpmyadmin - MySQL web 
administration tool


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org