Bug 924196 - Wrong HTTP status code for the error pages
Summary: Wrong HTTP status code for the error pages
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: WebUI
Version: 550
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: 462714
TreeView+ depends on / blocked
 
Reported: 2013-03-21 10:58 UTC by Martin Korbel
Modified: 2015-05-29 20:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 924205 (view as bug list)
Environment:
Last Closed: 2015-05-29 20:10:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.