Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

Commit

Permalink
Make the indenter stop crashing when the user enters strings with <>&
Browse files Browse the repository at this point in the history
  • Loading branch information
Hosch250 committed Nov 23, 2017
1 parent 7e0631e commit f284942
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions RubberduckWeb/RubberduckWeb/Controllers/HomeController.cs
Expand Up @@ -96,6 +96,7 @@ private async Task<IEnumerable<SyndicationItem>> GetBlogFeedItemsAsync()
}

[HttpPost]
[ValidateInput(false)]
public ActionResult Indentation(IndenterSettingsModel model)
{
var code = model.Code;
Expand Down
6 changes: 6 additions & 0 deletions RubberduckWeb/RubberduckWeb/RubberduckWeb.csproj
Expand Up @@ -63,6 +63,9 @@
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Microsoft.Expression.Interactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\System.Windows.Interactivity.WPF.2.0.20525\lib\net40\Microsoft.Expression.Interactions.dll</HintPath>
</Reference>
<Reference Include="Microsoft.VB6.Interop.VBIDE">
<HintPath>libs\Microsoft.VB6.Interop.VBIDE.dll</HintPath>
<EmbedInteropTypes>False</EmbedInteropTypes>
Expand Down Expand Up @@ -153,6 +156,9 @@
<Reference Include="System.Web.Abstractions" />
<Reference Include="System.Web.Routing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Windows.Interactivity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\System.Windows.Interactivity.WPF.2.0.20525\lib\net40\System.Windows.Interactivity.dll</HintPath>
</Reference>
<Reference Include="System.Xml" />
<Reference Include="System.Configuration" />
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
Expand Down
1 change: 1 addition & 0 deletions RubberduckWeb/RubberduckWeb/packages.config
Expand Up @@ -29,6 +29,7 @@
<package id="NLog" version="4.3.4" targetFramework="net452" />
<package id="NLog.Schema" version="4.3.4" targetFramework="net452" />
<package id="Respond" version="1.2.0" targetFramework="net452" />
<package id="System.Windows.Interactivity.WPF" version="2.0.20525" targetFramework="net452" />
<package id="WebActivatorEx" version="2.0" targetFramework="net452" />
<package id="WebGrease" version="1.5.2" targetFramework="net452" />
</packages>

0 comments on commit f284942

Please sign in to comment.