Project

General

Profile

Actions

Bug #25272

closed

Sécurity message with Gabarit Fluid :Default ajax configuration (Fluid) on internet explorer

Added by ASSANI Ahmed over 13 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-03-07
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hi,
After installing the news versions 4.5, i have always the message "Avertissement sécurité" with internet explorer, when i load a page.
My site is in HTTPS ans after recherch i saw in the head of my template the line :
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js&quot;&gt;&lt;/script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/jquery-ui.min.js&quot;&gt;&lt;/script>
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.3/themes/base/jquery-ui.css&quot; type="text/css" media="all" />
<link rel="stylesheet" href="http://static.jquery.com/ui/css/demo-docs-theme/ui.theme.css&quot; type="text/css" media="all" />

which is in http and don't care about my https page.
So when i don't inclued this gabarit in my setup, i don't have the message.

Thanks

(issue imported from #M17884)


Files

avertissement.JPG (29.8 KB) avertissement.JPG Administrator Admin, 2011-03-07 17:05
Actions #1

Updated by Georg Ringer over 13 years ago

you can override it with TS as you can see in fluid/configuration/typoscript/setup.txt

-------------
page.headerData.998 = TEXT
page.headerData.998.value (
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js&quot;&gt;&lt;/script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/jquery-ui.min.js&quot;&gt;&lt;/script>
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.3/themes/base/jquery-ui.css&quot; type="text/css" media="all" />
<link rel="stylesheet" href="http://static.jquery.com/ui/css/demo-docs-theme/ui.theme.css&quot; type="text/css" media="all" />
)
------------

Actions #2

Updated by ASSANI Ahmed over 13 years ago

Thanks Ringer Georg.

Actions #3

Updated by David Bruchmann over 11 years ago

Found the solution of the extension html5_readykit for it - without testing it seems the protocol is prepended automatically there.

###### FLUID TEMPLATE HANDLING #####
[globalVar = LIT:1 = {$plugin.html5_readykit.useFluidTemplate}]
#Remove fluid scripts from header
    page.headerData.998 = TEXT
    page.headerData.998.value (
)

# Include jQuery from Google Libraries API
page.includeJS{
    # Add jQueryUi script
    jqueryui = //ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/jquery-ui.min.js
    jqueryui.external = 1        
}

# Include CSS files
page.includeCSS{
    # Add jQueryUi css and jQuere Theme css
    jqueryui = //ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/themes/base/jquery-ui.css
    jqueryui.external = 1

    jquerytheme = //static.jquery.com/ui/css/demo-docs-theme/ui.theme.css

    jquerytheme.external = 1        
}
[global]
Actions

Also available in: Atom PDF