Bug 924196

Summary: Wrong HTTP status code for the error pages
Product: Red Hat Satellite 5 Reporter: Martin Korbel <mkorbel>
Component: WebUIAssignee: Tomas Lestach <tlestach>
Status: CLOSED DEFERRED QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 550CC: cperry
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 924205 (view as bug list) Environment:
Last Closed: 2015-05-29 20:10:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 462714    

Description Martin Korbel 2013-03-21 10:58:54 UTC
Description of problem:
When I open some URL, what makes error page (Page Request Error or Permission Error). I get HTTP status code 200, what means all is OK. 


Version-Release number of selected component (if applicable):
Sat5.5.0
Sat5.4.1

How reproducible:
Page Request Error:
https://<satellite>/rhn/kickstart/KickstartPartitionEdit.do?ksid=

Permission Error:
Try it as no RHN Satellite Admin user.
https://<satellite>/rhn/admin/multiorg/OrgSystemSubscriptions.do?oid=1

  
Actual results:
I get the HTTP status code 200 on the page with Page Request Error or Permission Error.

Expected results:
I want to get the HTTP status code 403 on the page with Permission Error. 
I want to get the HTTP status code 400 on the page with Page Request Error.
 

Additional info:
http://en.wikipedia.org/wiki/List_of_HTTP_status_codes