You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2016/02/09 20:12:26 UTC

[Bug 58985] New: Support sending 451 status from RewriteRule

https://bz.apache.org/bugzilla/show_bug.cgi?id=58985

            Bug ID: 58985
           Summary: Support sending 451 status from RewriteRule
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: mod_rewrite
          Assignee: bugs@httpd.apache.org
          Reporter: yehuda@ymkatz.net

mod_rewrite (and possibly other modules) can't send a 451 error unless it is
supported by the server. This is a basically standard patch to bring the status
codes up to
http://www.iana.org/assignments/http-status-codes/http-status-codes.xml
(similar to #53929)

Patch attached.

Only question is about error page text - the RFC says it SHOULD be detailed
about why the content is blocked and we can't really do that so easily in the
default message.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 58985] Support sending 451 status from RewriteRule

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58985

--- Comment #2 from Yehuda Katz <ye...@ymkatz.net> ---
Created attachment 33539
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33539&action=edit
2.4 patch

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 58985] Support sending 451 status from RewriteRule

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58985

Jim Jagielski <ji...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #3 from Jim Jagielski <ji...@apache.org> ---
Added to trunk

Thx

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 58985] Support sending 451 status from RewriteRule

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58985

Yehuda Katz <ye...@ymkatz.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|mod_rewrite                 |Core

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 58985] Support sending 451 status from RewriteRule

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58985

Yehuda Katz <ye...@ymkatz.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |PatchAvailable
                 OS|                            |All

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 58985] Support sending 451 status from RewriteRule

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58985

Yehuda Katz <ye...@ymkatz.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yehuda@ymkatz.net

--- Comment #1 from Yehuda Katz <ye...@ymkatz.net> ---
Created attachment 33538
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33538&action=edit
trunk patch

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org