wagnerfnds
wagnerfnds
FFilament
Created by wagnerfnds on 1/27/2024 in #❓┊help
Strange URL behavior with modals, the URL changes when interact with modal
Hi guys, i'm facing a strange behavior with modals, everytime my application shows or close a modal it changes the url with some functions leading to some router erros when refreshing page or copy link. I already tried rollback my git to days ago and still with this problem. I suspect it start happening after a composer update.
https://consultor.777fy.test/propostas?tableAction%5Bunique%5D=function()%7Bfor(var+o%3Dthis.concat(),t%3D0%3Bt%3Co.length%3B%2B%2Bt)for(var+e%3Dt%2B1%3Be%3Co.length%3B%2B%2Be)o%5Bt%5D%3D%3D%3Do%5Be%5D%26%26o.splice(e--,1)%3Breturn+o%7D&tableActionArguments%5Bunique%5D=function()%7Bfor(var+o%3Dthis.concat(),t%3D0%3Bt%3Co.length%3B%2B%2Bt)for(var+e%3Dt%2B1%3Be%3Co.length%3B%2B%2Be)o%5Bt%5D%3D%3D%3Do%5Be%5D%26%26o.splice(e--,1)%3Breturn+o%7D&tableActionRecord%5Bunique%5D=function()%7Bfor(var+o%3Dthis.concat(),t%3D0%3Bt%3Co.length%3B%2B%2Bt)for(var+e%3Dt%2B1%3Be%3Co.length%3B%2B%2Be)o%5Bt%5D%3D%3D%3Do%5Be%5D%26%26o.splice(e--,1)%3Breturn+o%7D
https://consultor.777fy.test/propostas?tableAction%5Bunique%5D=function()%7Bfor(var+o%3Dthis.concat(),t%3D0%3Bt%3Co.length%3B%2B%2Bt)for(var+e%3Dt%2B1%3Be%3Co.length%3B%2B%2Be)o%5Bt%5D%3D%3D%3Do%5Be%5D%26%26o.splice(e--,1)%3Breturn+o%7D&tableActionArguments%5Bunique%5D=function()%7Bfor(var+o%3Dthis.concat(),t%3D0%3Bt%3Co.length%3B%2B%2Bt)for(var+e%3Dt%2B1%3Be%3Co.length%3B%2B%2Be)o%5Bt%5D%3D%3D%3Do%5Be%5D%26%26o.splice(e--,1)%3Breturn+o%7D&tableActionRecord%5Bunique%5D=function()%7Bfor(var+o%3Dthis.concat(),t%3D0%3Bt%3Co.length%3B%2B%2Bt)for(var+e%3Dt%2B1%3Be%3Co.length%3B%2B%2Be)o%5Bt%5D%3D%3D%3Do%5Be%5D%26%26o.splice(e--,1)%3Breturn+o%7D
this is what happen with the url. Asked to gpt to decode this and this is the result:
tableAction[unique]=function() {
for (var o = this.concat(), t = 0; t < o.length; ++t) {
for (var e = t + 1; e < o.length; ++e) {
if (o[t] === o[e]) {
o.splice(e--, 1);
}
}
}
return o;
}

tableActionArguments[unique]=function() {
for (var o = this.concat(), t = 0; t < o.length; ++t) {
for (var e = t + 1; e < o.length; ++e) {
if (o[t] === o[e]) {
o.splice(e--, 1);
}
}
}
return o;
}

tableActionRecord[unique]=function() {
for (var o = this.concat(), t = 0; t < o.length; ++t) {
for (var e = t + 1; e < o.length; ++e) {
if (o[t] === o[e]) {
o.splice(e--, 1);
}
}
}
return o;
}
tableAction[unique]=function() {
for (var o = this.concat(), t = 0; t < o.length; ++t) {
for (var e = t + 1; e < o.length; ++e) {
if (o[t] === o[e]) {
o.splice(e--, 1);
}
}
}
return o;
}

tableActionArguments[unique]=function() {
for (var o = this.concat(), t = 0; t < o.length; ++t) {
for (var e = t + 1; e < o.length; ++e) {
if (o[t] === o[e]) {
o.splice(e--, 1);
}
}
}
return o;
}

tableActionRecord[unique]=function() {
for (var o = this.concat(), t = 0; t < o.length; ++t) {
for (var e = t + 1; e < o.length; ++e) {
if (o[t] === o[e]) {
o.splice(e--, 1);
}
}
}
return o;
}
12 replies