Skip to content

jQuery.globalEval()={} - Problem with password strength and files_markdown #4067

@michaelletzgus

Description

@michaelletzgus

Current master, personal settings, type a password into the "new password field"

Expected: Show password strength

Actual:
ReferenceError: zxcvbn is not defined in jquery.strengthify.js

Reason:
The script loading and executing of /core/vendor/zxcvbn/dist/zxcvbn.js at the bottom of /core/vendor/strengthify/jquery.strengthify.js is rendered dysfunctional by 148e7ab due to

$.ajaxSetup({
		contents: {
			script: false
		}
	});
jQuery.globalEval = function(){};

in core/js/js.js which is needed by jQuery ajax()/getScript() to execute loaded script.

148e7ab also brakes files_markdown (see #3696 (comment))

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions