mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
This commit is contained in:
parent
59b735ee99
commit
35004c1675
@ -212,7 +212,12 @@ RenderCalendar.prototype.makeCDXQueryURL = function() {
|
|||||||
if (this.queryInfo.rawSearch) {
|
if (this.queryInfo.rawSearch) {
|
||||||
queryURL = this.cdxURL + this.queryInfo.rawSearch + '&output=json';
|
queryURL = this.cdxURL + this.queryInfo.rawSearch + '&output=json';
|
||||||
} else {
|
} else {
|
||||||
queryURL = this.cdxURL + '?output=json&url=' + this.queryInfo.url;
|
queryURL =
|
||||||
|
this.cdxURL +
|
||||||
|
'?output=json&url=' +
|
||||||
|
// ensure that any query params in the search URL are not considered
|
||||||
|
// apart of the full query URL
|
||||||
|
encodeURIComponent(this.queryInfo.url);
|
||||||
}
|
}
|
||||||
var querySearchParams = this.queryInfo.searchParams;
|
var querySearchParams = this.queryInfo.searchParams;
|
||||||
if (querySearchParams.present && querySearchParams.includeInURL) {
|
if (querySearchParams.present && querySearchParams.includeInURL) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user