Page 1 of 1

Troubles uploading htm/html files

Posted: 11 Aug 2008, 22:57
by cicalone
I'm not able to upload files with .htm or .html extension.
Any idea?

Re: Troubles uploading htm/html files

Posted: 12 Aug 2008, 01:00
by Jan
Did you set the mime types for htm in Phoca Download settings?

Jan

Re: Troubles uploading htm/html files

Posted: 12 Aug 2008, 09:20
by cicalone
In "Allowed file types" (Phoca Download Settings|Details) I found out the following lines by default:

{html=text/html}
{htm=text/html}

and I thought it could be enough. If it isn't true, where I have to set the mime type for htm files?

Re: Troubles uploading htm/html files

Posted: 13 Aug 2008, 17:05
by Jan
yes, it should be ok,

the html works for me, it is not displayed in the browser, but download, all ok

There can be some problem with uploading via Upload Manager. Upload manager can see possible XSS attack in uploading html, so it will be not uploaded.

Try to zip the html file... :(

Jan