Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 795959
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T22:33:50+00:00 2026-05-14T22:33:50+00:00

Strangely enough, anytime I have an & in an HREF to indicate querystring parameters

  • 0

Strangely enough, anytime I have an & in an HREF to indicate querystring parameters I receive the following error on the Blackberry Curve:

Error encountered during XML parse: expecting ';'.

Is there any way to get it to accept & in querystrings? Other mobile browsers don’t like the ; to separate querystring parameters.

NOTE: I am using ASP.NET 2.0 if that makes a difference.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T22:33:51+00:00Added an answer on May 14, 2026 at 10:33 pm

    Blackberry is (for once) correct. Your code is not valid XML (or HTML), as the Validator will confirm.

    Is there any way to get it to accept & in querystrings?

    Yes, the same way you get an ampersand into any attribute value or text content. HTML-encode it.

    Fish & Chips
    <div title="Little &amp; Large">
    <a href="/script.aspx?x=y&amp;a=b">
    

    Other mobile browsers don’t like the ; to separate querystring parameters.

    That’s a server-side issue rather than a browser issue. Whilst the HTML4 spec recommends that servers accept ; as an alternative separator character to &, precisely to avoid the annoyance of having to write &amp; so much, sadly not all servers actually allow this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I found a php function checkdate() , but strangely enough it only seems to
Can anyone please explain why the following code behaving strangely: public class UserInputTest {
I have a client server situation in which I receive data using read(socket, char_buf,
I want to show custom dialog with a spinner. Strangely enough, I get NullPointerException
this is quite frustrating, I saw many questions around this topic, but strangely enough
In a Rails application using prototype, I have the following (simplified) code in my
I need another pair of eyes please. Strangely enough, I can't seem to be
StackOverflow, you're my only hope! I am unfortunate enough to have inherited an ASP.NET
I have the following code which I'm using to populate form fields. This code
If I have a textarea with the following content inside of it on page

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.