Click here to Skip to main content
15,887,267 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Api post call works on postman but in mobile app or ajax call it doesn't Pin
F-ES Sitecore9-Mar-17 22:51
professionalF-ES Sitecore9-Mar-17 22:51 
GeneralRe: Api post call works on postman but in mobile app or ajax call it doesn't Pin
mrkeivan9-Mar-17 23:35
mrkeivan9-Mar-17 23:35 
GeneralRe: Api post call works on postman but in mobile app or ajax call it doesn't Pin
mrkeivan9-Mar-17 18:54
mrkeivan9-Mar-17 18:54 
SuggestionRe: Api post call works on postman but in mobile app or ajax call it doesn't Pin
Richard Deeming9-Mar-17 1:18
mveRichard Deeming9-Mar-17 1:18 
GeneralRe: Api post call works on postman but in mobile app or ajax call it doesn't Pin
mrkeivan9-Mar-17 17:57
mrkeivan9-Mar-17 17:57 
QuestionASP.NET C# -STRING PROCESSING Pin
batman568-Mar-17 18:04
batman568-Mar-17 18:04 
SuggestionRe: ASP.NET C# -STRING PROCESSING Pin
Richard MacCutchan8-Mar-17 21:17
mveRichard MacCutchan8-Mar-17 21:17 
AnswerRe: ASP.NET C# -STRING PROCESSING Pin
Richard Deeming9-Mar-17 1:15
mveRichard Deeming9-Mar-17 1:15 
Java code has no place in HTML. Did you mean Javascript? (Despite the similar names, Java and Javascript are two completely different things.)

ASP.NET already has built-in methods to prevent XSS. In full .NET, the HttpUtility class[^] provides the necessary encoding methods. In .NET Core, the System.Text.Encodings.Web[^] package provides the relevant encoders.

(There's also an old AntiXSS library[^] from Microsoft, but that's no longer being developed.)

Top 10 2013-A3-Cross-Site Scripting (XSS) - OWASP[^]
XSS (Cross Site Scripting) Prevention Cheat Sheet - OWASP[^]



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


QuestionError Inserting data - into the database. Pin
samflex6-Mar-17 3:28
samflex6-Mar-17 3:28 
AnswerRe: Error Inserting data - into the database. Pin
Richard MacCutchan6-Mar-17 5:36
mveRichard MacCutchan6-Mar-17 5:36 
GeneralRe: Error Inserting data - into the database. Pin
samflex6-Mar-17 6:19
samflex6-Mar-17 6:19 
GeneralRe: Error Inserting data - into the database. Pin
Richard MacCutchan6-Mar-17 6:25
mveRichard MacCutchan6-Mar-17 6:25 
GeneralRe: Error Inserting data - into the database. Pin
samflex6-Mar-17 7:01
samflex6-Mar-17 7:01 
AnswerRe: Error Inserting data - into the database. Pin
F-ES Sitecore7-Mar-17 0:52
professionalF-ES Sitecore7-Mar-17 0:52 
GeneralRe: Error Inserting data - into the database. Pin
samflex8-Mar-17 5:03
samflex8-Mar-17 5:03 
GeneralRe: Error Inserting data - into the database. Pin
F-ES Sitecore8-Mar-17 5:44
professionalF-ES Sitecore8-Mar-17 5:44 
GeneralRe: Error Inserting data - into the database. Pin
samflex8-Mar-17 6:09
samflex8-Mar-17 6:09 
GeneralRe: Error Inserting data - into the database. Pin
F-ES Sitecore8-Mar-17 22:16
professionalF-ES Sitecore8-Mar-17 22:16 
GeneralRe: Error Inserting data - into the database. Pin
Richard Deeming8-Mar-17 7:58
mveRichard Deeming8-Mar-17 7:58 
GeneralRe: Error Inserting data - into the database. Pin
samflex8-Mar-17 8:40
samflex8-Mar-17 8:40 
GeneralRe: Error Inserting data - into the database. Pin
Richard Deeming8-Mar-17 8:50
mveRichard Deeming8-Mar-17 8:50 
GeneralRe: Error Inserting data - into the database. Pin
samflex8-Mar-17 8:55
samflex8-Mar-17 8:55 
GeneralRe: Error Inserting data - into the database. Pin
Richard Deeming8-Mar-17 9:09
mveRichard Deeming8-Mar-17 9:09 
GeneralRe: Error Inserting data - into the database. Pin
samflex8-Mar-17 9:19
samflex8-Mar-17 9:19 
Questioninput string was not in a correct format published site error when recycle working properly Pin
Praveen Kandari3-Mar-17 23:31
Praveen Kandari3-Mar-17 23:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.