Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kali forms minify broken #377

Open
nosilver4u opened this issue Jul 30, 2021 · 1 comment
Open

kali forms minify broken #377

nosilver4u opened this issue Jul 30, 2021 · 1 comment

Comments

@nosilver4u
Copy link
Sponsor

After minification, the syntax for this file is broken: https://pasocatering.millmedia.com/wp-content/plugins/kali-forms/public/assets/frontend/js/kaliExports.js

Let me know if you need more info!

@simondud
Copy link
Collaborator

simondud commented Aug 14, 2022

Test to reproduce:

$tests[] = array(
'function a(){!k&&(D||U)&&M>0&&b.indexOf(N)>-1&&void 0!==v[m]&&(A=!0,N=v[m]);for(var q=x.map((function(e){return R[e]})).filter((function(e){return e===N})).length,B=L.filter((function(e){return e===N})).length,V=b.substr(0,b.indexOf(g)).split(f).filter((function(e,s){return e===N&&v[s]!==e})).length+B+q+(A?1:0),I=0,F=0;F<T&&(P=F+1,R[F]===N&&I++,!(I>=V));F++);}',
'function a(){!k&&(D||U)&&M>0&&b.indexOf(N)>-1&&void 0!==v[m]&&(A=!0,N=v[m]);for(var q=x.map((function(e){return R[e]})).filter((function(e){return e===N})).length,B=L.filter((function(e){return e===N})).length,V=b.substr(0,b.indexOf(g)).split(f).filter((function(e,s){return e===N&&v[s]!==e})).length+B+q+(A?1:0),I=0,F=0;F<T&&(P=F+1,R[F]===N&&I++,!(I>=V));F++);}'
);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants