This is a migrated thread and some comments may be shown as answers.

Missing ';' caused by querystring

2 Answers 43 Views
Code Analysis
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jon
Top achievements
Rank 1
Jon asked on 28 Mar 2013, 11:53 AM
I get this warning a lot,  it happens in buth HTML and ASP.net analysis.  Is there a bug?  This seems to have happened back in 2010 as I saw a reference to the same thing.

The following line would cause it

<frame src="/Security/Logon.aspx?ClientId=2&Source=4362" />


in asp.net I'd get it for something like this:
<telerik:RadMenuItem runat="server" Text="View" NavigateUrl="/DocumentList.aspx?ID=01&PID=60"></telerik:RadMenuItem>

In both cases the & of a query string seems to cause the false warning.,,,

Please could that be corrected.

Regards

Jon

2 Answers, 1 is accepted

Sort by
0
Zdravko
Telerik team
answered on 29 Mar 2013, 02:04 PM
Hi Jon,

Thanks for contacting us. 
We are aware of these warnings and we have them logged for fixing.
As you found, this is caused because JustCode expects the sign '&' to be escaped with '&amp;' .
Another way that you can fix the warning is to ignore it as a temporary solution.
Thanks.

Kind regards,
Zdravko
the Telerik team
Share what you think about JustCode with us, so we can help you even better! You can use the built-in feedback tool inside JustCode, our forum, or our JustCode feedback portal.
0
Jon
Top achievements
Rank 1
answered on 02 Apr 2013, 11:45 AM
Hi Zdravko

Yeah that's what I thought.  Thanks for the feedback

Regards

Jon
Tags
Code Analysis
Asked by
Jon
Top achievements
Rank 1
Answers by
Zdravko
Telerik team
Jon
Top achievements
Rank 1
Share this question
or