Skip to content

Conversation

@tpurschke
Copy link
Contributor

fixes #3866

@sonarqubecloud
Copy link

@tpurschke tpurschke marked this pull request as ready for review November 28, 2025 20:26
<PropertyGroup>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningsNotAsErrors>CS1998</WarningsNotAsErrors> <!-- optional -->
<NoWarn>CS0618</NoWarn> <!-- optional -->
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure if these exceptions are necessary

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, these are just syntax examples.


return (!option.NwRegardIp || nwObject1.IP == nwObject2.IP && nwObject1.IpEnd == nwObject2.IpEnd)
&& (!option.NwRegardName || nwObject1.Name == nwObject2.Name);
return (!option.NwRegardIp || (string.Equals(nwObject1.IP, nwObject2.IP, StringComparison.Ordinal)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here using case sensitive, in appServerComparer case insensitive. Maybe we should think about centralizing /harmonizing this setting

@tpurschke tpurschke merged commit feec227 into CactuseSecurity:importer-rework Dec 1, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants