File upload blocked on chrome over HTTPS

More
9 years 11 months ago - 9 years 10 months ago #51145 by LEHBC-EHY
Hello team,

We have a problem with file field over HTTPS and chrome when we upload file.
Error message:

' www.mywebsite.com/index.php?option=com_f...1e4b85bd413113fa1b=1 '. This request has been blocked; the content must be served over HTTPS.


We use FlexiContent 2.2.0.

Can you help us about this point ?

Regards,

Ehy
Last edit: 9 years 10 months ago by LEHBC-EHY.

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #51147 by ggppdk
Hello

there is a policy that in browsers that if the page is displayed via HTTPS

then all links should be HTTPS

we have done this everywhere?? e.g. CS/JS but it seems we missed this ?

and the created link is using "HTTP" instead of HTTPS ?

will check this

are you using download button or download link (in field configuration) ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #51148 by ggppdk
Hello

i checked and the URL does not include the protocol/domain

can you do "view HTML source" in your browser and check if the URL or "action" of the mini "download" form includes a protocol/domain ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #51152 by LEHBC-EHY
Hello,

Thanks for your feedback.

We are using download button. File download works fine. Any problem with this option ;)

Our problem is during submitting first or new file from form (start upload button). We have checked process and it seems the below code is in cause (from filemanager.php into folder controller):
Code:
// Normal output: Redirect setting a message } else { if ($task=='uploads') { die('{"jsonrpc" : "2.0", "result" : null, "id" : "id"}'); } else { $app->enqueueMessage(JText::_( 'FLEXI_UPLOAD_COMPLETE' )); if ( !$return ) return; // No return URL $app->redirect(base64_decode($return)."&newfileid=".$file_id."&newfilename=".base64_encode($filename)."&".(FLEXI_J30GE ? JSession::getFormToken() : JUtility::getToken())."=1"); } }

But we don't know how set HTTPS protocol into
Code:
$return
variable

Regards,

Ehy

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #51155 by ggppdk
Hello

test with both frontend and backend (chrome), the image is uploaded via HTTPS url, (when you are accessing the web-site via HTTPS)

which FLEXIcontent version / Joomla version do you have ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #51156 by LEHBC-EHY
Hello,

Joomla version: 2.5.27
FlexiContent version: 2.2.0

Regards,

Ehy

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.295 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline