|
@@ -2098,6 +2098,7 @@ const PDFViewerApplication = {
|
|
const queryString = document.location.search.substring(1);
|
|
const queryString = document.location.search.substring(1);
|
|
const params = (0, _ui_utils.parseQueryString)(queryString);
|
|
const params = (0, _ui_utils.parseQueryString)(queryString);
|
|
file = params.get("file") ?? _app_options.AppOptions.get("defaultUrl");
|
|
file = params.get("file") ?? _app_options.AppOptions.get("defaultUrl");
|
|
|
|
+ file = file.replace("+", "%2B").replace("#", "%23")
|
|
validateFileURL(file);
|
|
validateFileURL(file);
|
|
const fileInput = appConfig.openFileInput;
|
|
const fileInput = appConfig.openFileInput;
|
|
fileInput.value = null;
|
|
fileInput.value = null;
|