|
38 | 38 | </text> |
39 | 39 | ) |
40 | 40 |
|
41 | | - <h2><strong>To report a security vulnerability</strong></h2> |
| 41 | + <h2><strong>To report a security vulnerability or copyright/trademark infringement</strong></h2> |
42 | 42 | @ViewHelpers.AlertWarning(isAlertRole: true, htmlContent: |
43 | 43 | @<text> |
44 | | - Please report security vulnerabilities through the <a href="https://msrc.microsoft.com/create-report" title="report a security vulnerability">official portal</a>. |
45 | | - If this is not a Microsoft - owned package, consider also <a href="@Url.ContactOwners(Model)" title="contact the owners">contacting the owners</a>. |
| 44 | + Please report security vulnerabilities through the <a href="https://msrc.microsoft.com/create-report" title="report a security vulnerability">official security vulnerabilities portal</a>. |
| 45 | + Please report copyright/trademark infringements through the <a href="https://msrc.microsoft.com/report/infringement" title="Notice of Copyright or Trademark Infringment">official copyright/trademark infringement portal</a>. |
| 46 | + <br /> |
| 47 | + <br /> |
| 48 | + If this is not a Microsoft-owned package, consider also <a href="@Url.ContactOwners(Model)" title="contact the owners">contacting the owners</a>. |
46 | 49 | </text> |
47 | 50 | ) |
48 | 51 |
|
|
80 | 83 | <div class="reason-error-security-vulnerability" tabindex="0"> |
81 | 84 | <p> |
82 | 85 | Please report security vulnerabilities through the <a href="https://msrc.microsoft.com/create-report" title="report a security vulnerability">official portal</a>. |
83 | | - If this is not a Microsoft - owned package, consider also <a href="@Url.ContactOwners(Model)" title="contact the owners">contacting the owners</a>. |
| 86 | + If this is not a Microsoft-owned package, consider also <a href="@Url.ContactOwners(Model)" title="contact the owners">contacting the owners</a>. |
| 87 | + </p> |
| 88 | + </div> |
| 89 | + <div class="reason-error-copyright-infringement" tabindex="0"> |
| 90 | + <p> |
| 91 | + Please report copyright/trademark infringements through the <a href="https://msrc.microsoft.com/report/infringement" title="Notice of Copyright or Trademark Infringment">official portal</a>. |
| 92 | + If this is not a Microsoft-owned package, consider also <a href="@Url.ContactOwners(Model)" title="contact the owners">contacting the owners</a>. |
84 | 93 | </p> |
85 | 94 | </div> |
86 | 95 | <div class="reason-error-revenge-porn" tabindex="0"> |
|
113 | 122 | </ul> |
114 | 123 | </p> |
115 | 124 | </div> |
116 | | - <div class="infringement-claim-requirements" tabindex="0"> |
117 | | - <p> |
118 | | - If you are reporting copyright infringement, please describe the copyrighted material with particularity and provide us with information about your copyright (i.e. title of copyrighted work, URL where to view your copyrighted work, description of your copyrighted work, and any copyright registrations you may have, etc.). For trademark infringement, include the name of your trademark, registration number, and country where registered. |
119 | | - </p> |
120 | | - </div> |
121 | 125 | <div class="imminent-harm" tabindex="0"> |
122 | 126 | <p> |
123 | 127 | Note: please ensure when reporting this type of abuse that you've considered whether the following are present: |
|
137 | 141 | @Html.ShowLabelFor(m => m.CopySender) |
138 | 142 | @Html.ShowValidationMessagesFor(m => m.CopySender) |
139 | 143 | </div> |
140 | | - <div class="form-group infringement-claim-requirements @Html.HasErrorFor(m => m.Signature)"> |
141 | | - <h2><span style="color:red">*</span> Required Statements for infringement claims</h2> |
142 | | - <h2>Good Faith Belief:</h2> |
143 | | - <p> |
144 | | - By typing my name (electronic signature), I have a good faith belief that the use of the material is not authorized by the intellectual property owner, its agent, or the law (e.g., it is not fair use). |
145 | | - </p> |
146 | | - <h2>Authority to Act:</h2> |
147 | | - <p> |
148 | | - I represent that the information in the notification is accurate, and under penalty of perjury, that I am authorized to act on behalf of the owner of an exclusive right that is allegedly infringed. |
149 | | - </p> |
150 | | - <h2>512(f) Acknowledgement:</h2> |
151 | | - <p> |
152 | | - As applicable under 17 U.S.C. 512(f), I acknowledge that I may be subject to liability for damages if I knowingly materially misrepresent that material or activity is infringing. |
153 | | - </p> |
154 | | - @Html.ShowLabelFor(m => m.Signature) |
155 | | - @Html.ShowTextBoxFor(m => m.Signature) |
156 | | - @Html.ShowValidationMessagesFor(m => m.Signature) |
157 | | - </div> |
158 | 144 | <div class="form-group"> |
159 | 145 | <input id="Submit" type="submit" class="btn btn-primary form-control" value="Report" /> |
160 | 146 | </div> |
|
179 | 165 | // For error conditions, hide the other form fields and show error messages |
180 | 166 | if (val === 'HasABugOrFailedToInstall' |
181 | 167 | || val === 'ContainsSecurityVulnerability' |
| 168 | + || val === 'ViolatesALicenseIOwn' |
182 | 169 | || val === 'RevengePorn') { |
183 | 170 | $('#report-abuse-form').hide(); |
184 | 171 | } else { |
|
197 | 184 | $form.find('.reason-error-security-vulnerability').hide(); |
198 | 185 | } |
199 | 186 |
|
| 187 | + if (val === 'ViolatesALicenseIOwn') { |
| 188 | + $form.find('.reason-error-copyright-infringement').show(); |
| 189 | + } else { |
| 190 | + $form.find('.reason-error-copyright-infringement').hide(); |
| 191 | + } |
| 192 | +
|
200 | 193 | if (val === 'RevengePorn') { |
201 | 194 | $form.find('.reason-error-revenge-porn').show(); |
202 | 195 | } else { |
|
222 | 215 | } else { |
223 | 216 | $form.find('.imminent-harm').hide(); |
224 | 217 | } |
225 | | -
|
226 | | - if (val == 'ViolatesALicenseIOwn') { |
227 | | - $form.find('.infringement-claim-requirements').show(); |
228 | | - $('#Signature').rules("add", { |
229 | | - required: true, |
230 | | - maxlength: 1000, |
231 | | - messages: { |
232 | | - required: "Please sign using your name." |
233 | | - } |
234 | | - }); |
235 | | - $('#Signature').attr('data-val-required', 'Please sign using your name.'); |
236 | | - } else { |
237 | | - $form.find('.infringement-claim-requirements').hide(); |
238 | | - $('#Signature').rules('remove', 'required'); |
239 | | - } |
240 | 218 | } |
241 | 219 |
|
242 | 220 | $(function () { |
|
0 commit comments