Troubles uploading htm/html files

Phoca Download - download manager
User avatar
cicalone
Phoca Member
Phoca Member
Posts: 35
Joined: 27 Feb 2008, 07:53
Location: Italy

Troubles uploading htm/html files

Post by cicalone »

I'm not able to upload files with .htm or .html extension.
Any idea?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47916
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Troubles uploading htm/html files

Post by Jan »

Did you set the mime types for htm in Phoca Download settings?

Jan
If you find Phoca extensions useful, please support the project
User avatar
cicalone
Phoca Member
Phoca Member
Posts: 35
Joined: 27 Feb 2008, 07:53
Location: Italy

Re: Troubles uploading htm/html files

Post 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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47916
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Troubles uploading htm/html files

Post 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
If you find Phoca extensions useful, please support the project
Post Reply