summaryrefslogtreecommitdiff
path: root/ThirdParty/CsvHelper-master/src/CsvHelper/Configuration/InjectionOptions.cs
blob: a7dc20ebb39c2d2e103c9fbea50a4e7354d0a3c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CsvHelper.Configuration
{
	/// <summary>
	/// Options for handling injection attacks.
	/// </summary>
	public enum InjectionOptions
	{
		/// <summary>
		/// No injection protection.
		/// </summary>
		None = 0,
		/// <summary>
		/// Escape injection characters.
		/// </summary>
		Escape,
		/// <summary>
		/// Strip injection characters.
		/// </summary>
		Strip,
		/// <summary>
		/// Throw an exception if injection characters are detected.
		/// </summary>
		Exception,
	}
}