News:

Join the Facebook Fan Page.

Main Menu

Search page url problem ?

Started by gevv, July 28, 2022, 03:10:49 PM

Previous topic - Next topic

gevv

Hello,

url gets complicated on second or other pages in search page

first page url after search;

index.php?action=search2
page 2, 3, 4......

index.php?action=search2;params=eJwtks1qI0EMhN8ll73UoaX-fxpjjxuS4MTL2ElY8MPvJxMY0Wq1SiqV5nj-Pn5u6_z480iPl8dpD28kWZkapuGyXLEp61NuJpsmb4REipWMkVDxGzAD0Ew9qZPa4kZGK2pTPXKbWpMnCsyCAZ3hd2xg9EgJo7W8qOBXFVP0CFpwsiA1qDUoUIYa2MxTAp-DL3dwNp06GO2ryM2qRTWpAn2Sm4KWukpXEKSD85SzmPAJppABcRWYwNKgwtj08XimJGN2vIzBNyHCCKLkDsCDzDGVufbQBgZdISeTeeK06ECSAXQyHFqEEchUIQEdDp9Cp5DLAxtyiSERF6WRl8X04BTzx2LiJDl0afi1ii9aDfHWY1vIyqYcRs6EbpXd316vP4ft-vH3su6LvyBCX6f3td0P18_Lv9_Idb_j7euynj_Ob-hwftsJn9dti8g67tsr9-Pttj5Ol7X_Bz3jjuY.;start=0
this complex url triggers mod security and i get 403 error
ElkArte is a modern, powerful community building forum software. https://www.elkarte.net/

Arantor


gevv

index.php?action=search2;params=eJwtks1qI0EMhN8ll73UoaX-fxpjjxuS4MTL2ElY8MPvJxMY0Wq1SiqV5nj-Pn5u6_z480iPl8dpD28kWZkapuGyXLEp61NuJpsmb4REipWMkVDxGzAD0Ew9qZPa4kZGK2pTPXKbWpMnCsyCAZ3hd2xg9EgJo7W8qOBXFVP0CFpwsiA1qDUoUIYa2MxTAp-DL3dwNp06GO2ryM2qRTWpAn2Sm4KWukpXEKSD85SzmPAJppABcRWYwNKgwtj08XimJGN2vIzBNyHCCKLkDsCDzDGVufbQBgZdISeTeeK06ECSAXQyHFqEEchUIQEdDp9Cp5DLAxtyiSERF6WRl8X04BTzx2LiJDl0afi1ii9aDfHWY1vIyqYcRs6EbpXd316vP4ft-vH3su6LvyBCX6f3td0P18_Lv9_Idb_j7euynj_Ob-hwftsJn9dti8g67tsr9-Pttj5Ol7X_Bz3jjuY.;start=0
is this normal ?
ElkArte is a modern, powerful community building forum software. https://www.elkarte.net/

Arantor

Yes, yes it is. If I had thought it was not normal, I would have said so.

What happens on the first press, is that it is submitted as a form - so the parameters are sent the way forms are sent, but page 2 and so on aren't forms, thus all the search parameters (not least, which boards to search in) have to be converted into a form that can be inserted in a link.

For large sites, this can be a lot of parameters and was observed that it could be too long for certain browsers to process (yes, there are some limits on the size of a URL), so the parameters are bundled together, compressed and turned into that string you see.

Advertisement: