Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 951686 Details for
Bug 1158381
[GSS] (6.3.z) JBossWeb RewriteValve throws IllegalArgumentException when using 'CO' flag
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
JBOSSWEB_RewriteValve_CO_flag_patch.diff
JBOSSWEB_RewriteValve_CO_flag_patch.diff (text/plain), 1.09 KB, created by
Masafumi Miura
on 2014-10-29 09:36:26 UTC
(
hide
)
Description:
JBOSSWEB_RewriteValve_CO_flag_patch.diff
Filename:
MIME Type:
Creator:
Masafumi Miura
Created:
2014-10-29 09:36:26 UTC
Size:
1.09 KB
patch
obsolete
>Index: src/main/java/org/jboss/web/rewrite/RewriteValve.java >=================================================================== >--- src/main/java/org/jboss/web/rewrite/RewriteValve.java (revision 2535) >+++ src/main/java/org/jboss/web/rewrite/RewriteValve.java (working copy) >@@ -622,12 +622,12 @@ > protected static void parseRuleFlag(String line, RewriteRule rule, String flag) { > if (flag.equals("chain") || flag.equals("C")) { > rule.setChain(true); >- } else if (flag.startsWith("cookie=") || flag.startsWith("C=")) { >+ } else if (flag.startsWith("cookie=") || flag.startsWith("CO=")) { > rule.setCookie(true); > if (flag.startsWith("cookie")) { > flag = flag.substring("cookie=".length()); >- } else if (flag.startsWith("C=")) { >- flag = flag.substring("C=".length()); >+ } else if (flag.startsWith("CO=")) { >+ flag = flag.substring("CO=".length()); > } > StringTokenizer tokenizer = new StringTokenizer(flag, ":"); > if (tokenizer.countTokens() < 2) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
mmiura
: review?
Actions:
View
|
Diff
Attachments on
bug 1158381
: 951686