Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Getting an error in Firefox when passing an apostrophe in the URL

  • 5 отговора
  • 2 имат този проблем
  • 1 изглед
  • Последен отговор от ramesh123

more options

When I click on a button it is passing an apostrophe in the URL and redirecting to another page but got "Oops! We are sorry, there was integrity check error with your request. Please contact support" error in the Firefox browser. And the same URL is working in IE and Chrome browsers. Can you please help me on this issue.

When I click on a button it is passing an apostrophe in the URL and redirecting to another page but got "Oops! We are sorry, there was integrity check error with your request. Please contact support" error in the Firefox browser. And the same URL is working in IE and Chrome browsers. Can you please help me on this issue.

Всички отговори (5)

more options

I think that message is from the site, perhaps a polite way of saying that SQL injection attacks are not welcome there.

Can you see whether Firefox is encoding or failing to encode the apostrophe differently than the other browsers?

more options

Hi, thanks for the reply. Firefox may converting the apostrophe in the URL into different characters and send that information to the other page but not sure.

Firefox Encoding is set to Unicode (UTI-8). How can I see the failing to encode the apostrophe differently than the other browsers?

All browsers are passing ' instead of apostrophe (') in the URL. So I have added the below code in the JavaScript and it is working in IE and Chrome but not in Firefox. Please let me know your suggestions.

myredirect.replace(/'/g,"'");

Sample URL: https://XXXXXXXXXX/XXXXXXXX/?first=abhina'v&middle=&last=kumar1&street=abhiXXXXXXXXXXXXXXXXXXX

Thanks, Ramesh.

Променено на от cor-el

more options

Unfortunately, the % encoding doesn't show correctly on this site.

Does the site work normally with Firefox when there is not an apostrophe in the query? If so... Perhaps this question could better be answered on the unofficial mozillaZine Web Development board. It's a separate site with separate registration. bbcode is supported.

more options

Hi, thanks for the quick reply. Yes it is working fine in Firefox when apostrophe is not there in the URL. Thanks for the information, I will post my question in mozillaZine Web Development board. Ramesh.

more options

I have posted my question (Getting an error in Firefox when URL has an apostrophe) in mozillaZine Web Development board. Below is the link. http://forums.mozillazine.org/viewtopic.php?f=38&t=2730725