326,327c326,327
<         if (allowedMethods != null && allowedMethods.indexOf(' ') != -1) {
<             StringTokenizer tok = new StringTokenizer(allowedMethods, " ");
---
>         if (allowedMethods != null) {
>             StringTokenizer tok = new StringTokenizer(allowedMethods, ", ");
