Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

MS, Unix %0d%0a / %20 / Carriage Returns and Spaces

  Asked By: Tyson    Date: Aug 13    Category: Sharepoint    Views: 5055

I built a workflow in SharePoint to save the encoded URL to a variable
and append it to the FormServer.aspx URL.

Someone on a Unix client saved a file called "Form File Name."

In the subsequent email the encoded URL said "Form%0d%0aFile%20Name."

Outlook 2007 Clients "properly" pass to the browser

Outlook 2003 Clients' source see "Form<CRLF>

File Name"

And pass to the browser "FormFile Name"

The URL fails because it is looking for either "Form File Name" or

1) Is this a sharepoint bug? -

2) From Form Services forms can I enforce a file name to strip
spaces so this doesn't happen?

3) what character would have the unix user insert to make this
happen? Is %0d%0a a space? Or a carriage return?



1 Answer Found

Answer #1    Answered By: Angarika Shroff     Answered On: Aug 13

%0d%0a is actually 2 characters - a carriage return followed by a line
feed. This is the Windows way of doing a newline, so it's suspicious
that this came from a UNIX user. Perhaps the file  was originally
created on a Windows PC and transferred to UNIX incorrectly at some
point, corrupting the filename?

Didn't find what you were looking for? Find more on MS, Unix %0d%0a / %20 / Carriage Returns and Spaces Or get search suggestion and latest updates.