Dibanisa izikripthi ezinamandla kunye nangaphandle kwe-HTTPS

Ukuba ubandakanya izikripthi ezingabhalwanga kwindawo <head> kwaye ubize iphepha elinesiqinisekiso se-SSL esele sikhona, ezi zikripthi ziyavalwa kwaye ke azenziwa. Ukuba umane ushiya umthetho olandelwayo, zonke izikripthi zibizwa ngokuzenzekelayo kwifom ebhaliweyo ukuba iwebhusayithi ifikeleleka nge-https: // - kungenjalo kungabhalwanga.


Ukuze le isebenzise endaweni yoko

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>

lula

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>

Esona siphoso kukuqinisekisa ukuba iskripthi sinokufikelelwa kunye nangaphandle kwe-https. Ngelishwa, eli ayiloqhinga, kodwa indlela yokuziphatha ichazwe ngokusesikweni kwi- RFC 3986: "Isazisi seZibonelelo ezingafaniyo (i-URI): iGeneric Syntax" , kwicandelo "4.2. Isalathiso Esihlobene:

A relative reference that begins with two slash characters is termed a network-path reference; such references are rarely used.

Emva