Skip to content

Commit e56ad75

Browse files
authored
Change httpPost to httpGet (#8269)
1 parent 6c5db62 commit e56ad75

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

src/NuGetGallery/Areas/Admin/Controllers/SupportRequestController.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,7 @@ public async Task<ActionResult> Save(int issueKey, int? assignedToId, int issueS
133133
}
134134
}
135135

136-
[HttpPost]
137-
[ValidateAntiForgeryToken]
136+
[HttpGet]
138137
public async Task<ActionResult> Filter(int pageNumber = 1, int take = _defaultTakeCount, int? assignedToId = null, int? issueStatusId = null, string reason = null)
139138
{
140139
if (pageNumber <= 0)

src/NuGetGallery/Controllers/PackagesController.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,8 @@ public virtual JsonResult UploadPackageProgress()
227227
return Json(progress, JsonRequestBehavior.AllowGet);
228228
}
229229

230-
[HttpPost]
230+
[HttpGet]
231231
[UIAuthorize]
232-
[ValidateAntiForgeryToken]
233232
[RequiresAccountConfirmation("upload a package")]
234233
public virtual async Task<ActionResult> UploadPackage()
235234
{

0 commit comments

Comments
 (0)