| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -208,7 +208,7 @@ public static String parseFileName(@NotNull final Part currentPart) { | |||
| 208 | 208 | */ | |
| 209 | 209 | @SuppressWarnings("WeakerAccess") | |
| 210 | 210 | public static String parseCalendarMethod(@NotNull MimePart currentPart) { | |
| 211 | - Pattern compile = Pattern.compile("method=\"(.*?)\""); | ||
| 211 | + Pattern compile = Pattern.compile("method=\"?(\\w+)"); | ||
| 212 | 212 | final String contentType; | |
| 213 | 213 | try { | |
| 214 | 214 | contentType = currentPart.getDataHandler().getContentType(); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments