2

We have a file in sharepoint with a £ sign as part of the url.

When we try to retrieve this file we get a bad request.

Interesting thing is that this is only a problem in production not in test.

Anyone know what setting could be causing this difference?

Shiraz Bhaiji
  • 64,065
  • 34
  • 143
  • 252
  • 3
    Not a solution - but this symbol in a URL? I'd try to revise the url causing this error instead of investing time into working this issue out with IIS + Sharepoint. – Dennis G Mar 16 '11 at 18:44
  • Does replacing the £ with %A3 in the URL work? I'm inclined to agree with moontear. – Kit Menke Mar 16 '11 at 19:52

2 Answers2

0

Am I right that you are trying to access an url like one of these?

http://foo.com/api/getfile/foo£bar.txt

http://foo.com/api/getfile/foo%A3bar.txt

If so I think it may be related to this answer: https://stackoverflow.com/a/12037000/134761

Try rewriting the url to
http://foo.com/api/getfile?file=foo%A3bar.txt

Community
  • 1
  • 1
angularsen
  • 8,160
  • 1
  • 69
  • 83
0

Could it be the registry or IIS 7.0 configuration on the production server?

Ampersand & the Request URL in IIS7 (not a £ article but might be related)

MattC
  • 3,984
  • 1
  • 33
  • 49