Skip to content

Fix AvoidInternalURLs throw warnings at SDDL #46

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Apr 20, 2015
Merged

Fix AvoidInternalURLs throw warnings at SDDL #46

merged 10 commits into from
Apr 20, 2015

Conversation

yutingc
Copy link
Contributor

@yutingc yutingc commented Apr 20, 2015

No description provided.

if (count !=3 )
{
isInternalURL = true;
}

Choose a reason for hiding this comment

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

I think an SDDL can actually have 4 ":"
This is because they can have both DACL and SACL components (SACL is optional, I think)
In the test case, the string only has the DACL component.
https://msdn.microsoft.com/en-us/library/windows/desktop/aa379570(v=vs.85).aspx

@yutingc
Copy link
Contributor Author

yutingc commented Apr 20, 2015

Thanks Quoc. I've changed the count to check both 3 and 4.

@@ -3,7 +3,7 @@

##Description

Functions that have verbs like New, Start, Stop, Set, Reset that change system state should support 'ShouldProcess'
Functions that have verbs like New, Start, Stop, Set, Reset and Restart that change system state should support 'ShouldProcess'
Copy link
Member

Choose a reason for hiding this comment

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

Why is file in the current change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I committed the changes earlier to BugFixes by accident so I reverted the changes. This file may be reverted as well.

Copy link
Member

Choose a reason for hiding this comment

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

ok thanks.

@raghushantha
Copy link
Member

looks good.

@quoctruong
Copy link

Looks good to me too.

yutingc added a commit that referenced this pull request Apr 20, 2015
Fix AvoidInternalURLs throw warnings at SDDL
@yutingc yutingc merged commit 9cb7241 into BugFixes Apr 20, 2015
@yutingc
Copy link
Contributor Author

yutingc commented Apr 20, 2015

Thanks!

@yutingc yutingc deleted the issueFi branch April 21, 2015 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants