Skip to content

Commit

Permalink
Update project metadata
Browse files Browse the repository at this point in the history
Add README and remove exmaple policies so they do not show when installing or restoring the package.
  • Loading branch information
spassarop committed Dec 21, 2023
1 parent da481d7 commit c166525
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions OWASP.AntiSamy/OWASP.AntiSamy.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,13 @@
Another way of saying that could be: It's an API that helps you make sure that clients don't supply malicious cargo code in the HTML they supply for their profile, comments, etc., that get persisted on the server. The term "malicious code" in regard to web applications usually mean "JavaScript." Mostly, Cascading Stylesheets are only considered malicious when they invoke JavaScript. However, there are many situations where "normal" HTML and CSS can be used in a malicious manner.</Description>
<Title>OWASP.AntiSamy</Title>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(TargetFramework)' == 'net5.0'">
<DefineConstants>NET5_0</DefineConstants>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="AngleSharp" Version="0.17.1" />
<PackageReference Include="AngleSharp.Css" Version="0.17.0" />
<PackageReference Include="HtmlAgilityPack" Version="1.11.55" />
</ItemGroup>
<ItemGroup>
<!-- Added so NuGet copies this folder to the output package -->
<Content Include="AntiSamyPolicyExamples\**\*">
<CopyToPublishDirectory>true</CopyToPublishDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<None Update="AntiSamyPolicyExamples\antisamy-anythinggoes.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
Expand All @@ -57,6 +49,7 @@ Another way of saying that could be: It's an API that helps you make sure that c
<None Update="AntiSamyPolicyExamples\antisamy.xsd">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="..\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>
<ItemGroup>
<Compile Update="Properties\Resources.Designer.cs">
Expand Down

0 comments on commit c166525

Please sign in to comment.