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 7902419
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T09:29:22+00:00 2026-06-03T09:29:22+00:00

We have some UTF-8 XML being returned by a REST handler that contains urls.

  • 0

We have some UTF-8 XML being returned by a REST handler that contains urls. These urls have an ampersand (&), which when escaped to be UTF-8 compliant, look like this:

http://domain.com?param1=a&param2=b

The problem is, when this is then cut/pasted into a browser, the result does not correctly separate based on the escaped ampersand. Below is an example:

This works:

http://api.citysourced.com/reportimage.ashx?reportid=30885&imagesize=Small

These do not:

http://api.citysourced.com/reportimage.ashx?reportid=30885&imagesize=Small
http://api.citysourced.com/reportimage.ashx?reportid=30885%26imagesize=Small

Is there an issue with my IIS configuration (IIS 6)? The handler above is a standard generic handler written in C# .NET 4.0.

I’ve looked at the other articles here, and none of them have the right answer.

Thanks.

  • 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-06-03T09:29:24+00:00Added an answer on June 3, 2026 at 9:29 am

    There’s nothing wrong with your IIS configuration. XML has certain predefined entities (characters) that it must escape, otherwise they would break the document. You just need to unescape the data when you consume it.

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

Sidebar

Related Questions

I have some XML which contains records and sub records, like this: <data> <record
I have an XML document that's being generated from some content that people are
I have a file which is mostly UTF-8, but some Windows-1252 characters have also
I have some XML files of this form: <?xml version=1.0 encoding=utf-8?> <?xml-stylesheet type=text/xsl href=biomirror.xsl?>
I have some xml encoded as UTF-8 and I want to write this to
I have some code that is using the following xml file. Can someone tell
I have some XML that is a single level with an attribute that I
I have the following XSL translator that is is being used to generate some
I have an XML handler being used in the following fashion: SAXParserFactory.newInstance().newSAXParser().parse(new ByteArrayInputStream(response.getBytes()), myXMLHandler);
I have my XML feed being created from an associative array. Using new DOMDocument('1.0','UTF-8');

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.