MOSS filter website not working with & in query string

I know this is a pretty common URL encoded error. I suspect this is a MOSS filter webpage used to filter the results of dataview web pages based on the querystring parameter passed to it from the filter web part.

When the query string contains the character and (ampersand), the dataview web page cannot display any results, but does not show any errors.

When I replace the ampersand in the query string below% 26, I get an exception. "The input string was not in the correct format"

http: //localhost/subsite/Pages/Test.aspx? SS = Test% 20Governance% 20 &% 20Directors no error was caused, but the filter (SS) passed to the data view does not show results.

Http: //localhost/subsite/Pages/Test.aspx? SS = Test% 20Governance% 20% 26% 20Directors replacing and with% 26, throws an exception. "The input string is not in the correct format" selected

Can i use ampersand in query string from filter web part? I read that a consumer website reads this as another parameter passed to it, maybe this is a problem? Although I configured the filter web page only to pass the first parameter.

+3
source share
4 answers

...

+1

- URL- - SP .

URL- , "" - " ", "&" . % 26.

" ". , .

+1

sharepoint 2010 sp1 august (URL), bobince double url encode .. , ,

0

SharePoint & %26, , & %26. &useFiltersInViewXml=1 URL- . .

0

Source: https://habr.com/ru/post/1742091/


All Articles