Skip to content

Commit e9a132c

Browse files
committed
Entries: use domain relative urls instead of absolute urls
this prevents mixed-content problems.
1 parent 483a967 commit e9a132c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

entries/remote-method.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<longdesc>
66
The serverside resource is called via jQuery.ajax (XMLHttpRequest) and gets a key/value pair corresponding to the name of the validated element and its value as a GET parameter. The serverside response must be a JSON string that must be <code>"true"</code> for valid elements, and can be <code>"false"</code>, <code>undefined</code>, or <code>null</code> for invalid elements, using the default error message. If the serverside response is a string, eg. <code>"That name is already taken, try peter123 instead"</code>, this string will be displayed as a custom error message in place of the default.
77

8-
<p>For more examples, take a look the <a href="http://jqueryvalidation.org/files/demo/marketo">marketo demo</a> and the <a href="http://jqueryvalidation.org/files/demo/milk/">milk demo</a>.</p>
8+
<p>For more examples, take a look the <a href="//jqueryvalidation.org/files/demo/marketo">marketo demo</a> and the <a href="//jqueryvalidation.org/files/demo/milk/">milk demo</a>.</p>
99
</longdesc>
1010
<signature>
1111
<argument name="options" type="Object">

pages/index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
<div><strong>License:</strong> MIT</div>
1818

1919
<h3>Files:</h3>
20-
<a title="zip-Archive with source code, minified and packed version, demos and examples" href="http://jqueryvalidation.org/files/jquery-validation-1.15.0.zip">Download</a>
20+
<a title="zip-Archive with source code, minified and packed version, demos and examples" href="//jqueryvalidation.org/files/jquery-validation-1.15.0.zip">Download</a>
2121
<a href="https://github.com/jzaefferer/jquery-validation/releases/tag/1.15.0">Changelog</a>
22-
<a href="http://jqueryvalidation.org/files/demo/">Demos</a>
23-
<a href="http://jqueryvalidation.org/documentation/">Documentation</a>
22+
<a href="//jqueryvalidation.org/files/demo/">Demos</a>
23+
<a href="//jqueryvalidation.org/documentation/">Documentation</a>
2424
<a href="https://github.com/jzaefferer/jquery-validation">GitHub Repository</a>
2525

2626
<h3>Installation via Package Managers</h3>

0 commit comments

Comments
 (0)