Details
-
Bug
-
Resolution: Fixed
-
Low
Description
Steps to reproduce
1. Create a user with "+" in the username. (Also applies to other characters that get translated to %xx if url encoding is applied to it.)
2. Login in to the instance as the user.
Username can be seen here in the second log entry:
@40000000570af6f42f96abac 2016-04-11 10:59:22,796 http-nio-3009-exec-14 WARN anonymous 659x6694x1 - 103.233.242.8 / [c.a.s.jira.homepage.LandingPageRemoteLookup] Error trying to get user landing page @40000000570af6f42f96af94 java.util.UnknownFormatConversionException: Conversion = '2' @40000000570af6f42f96b37c at java.util.Formatter.checkText(Formatter.java:2579) @40000000570af6f42f96b37c at java.util.Formatter.parse(Formatter.java:2565) @40000000570af6f42f96b37c at java.util.Formatter.format(Formatter.java:2501) @40000000570af6f42f9966e4 at java.util.Formatter.format(Formatter.java:2455) @40000000570af6f42f996acc at java.lang.String.format(String.java:2928) @40000000570af6f42f996acc at com.atlassian.usermanagement.client.api.rest.JsonRestExecutor.buildUrl(JsonRestExecutor.java:232) @40000000570af6f42f996acc at com.atlassian.usermanagement.client.api.rest.JsonRestExecutor.get(JsonRestExecutor.java:272) @40000000570af6f42f996eb4 at com.atlassian.studio.jira.homepage.LandingPageRemoteLookup.apply(LandingPageRemoteLookup.java:47) @40000000570af6f42f997684 at com.atlassian.studio.jira.homepage.LandingPageRemoteLookup.apply(LandingPageRemoteLookup.java:23) @40000000570af6f42f997a6c at com.atlassian.studio.jira.homepage.CloudHomepageFilter.tryGetLandingPage(CloudHomepageFilter.java:90) @40000000570af6f42f997a6c at com.atlassian.studio.jira.homepage.CloudHomepageFilter.lambda$doFilter$1(CloudHomepageFilter.java:62) @40000000570af6f42f998a0c at com.atlassian.studio.jira.homepage.CloudHomepageFilter$$Lambda$425/25990384.apply(Unknown Source) @40000000570af6f42f998df4 at com.atlassian.fugue.Option.map(Option.java:272) @40000000570af6f42f998df4 at com.atlassian.studio.jira.homepage.CloudHomepageFilter.doFilter(CloudHomepageFilter.java:62) @40000000570af6f42f9991dc ... 20 filtered @40000000570af6f42f9991dc at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopulatorFilter.java:30) @40000000570af6f42f9999ac ... 5 filtered @40000000570af6f42f9999ac at com.atlassian.plugin.connect.plugin.auth.user.ThreeLeggedAuthFilter.doFilter(ThreeLeggedAuthFilter.java:110) @40000000570af6f42f9999ac ... 3 filtered @40000000570af6f42f9999ac at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.lambda$invokeFilterChain$0(CustomerContextSettingFilter.java:174) @40000000570af6f42f99b11c at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter$$Lambda$678/31036432.call(Unknown Source) @40000000570af6f42f99b11c at com.atlassian.servicedesk.internal.utils.context.ReentrantThreadLocalBasedCodeContext.rteInvoke(ReentrantThreadLocalBasedCodeContext.java:142) @40000000570af6f42f99b504 at com.atlassian.servicedesk.internal.utils.context.ReentrantThreadLocalBasedCodeContext.runOutOfContext(ReentrantThreadLocalBasedCodeContext.java:94) @40000000570af6f42f99c0bc at com.atlassian.servicedesk.internal.utils.context.CustomerContextServiceImpl.outOfCustomerContext(CustomerContextServiceImpl.java:44) @40000000570af6f42f99c0bc at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.outOfCustomerContext(CustomerContextSettingFilter.java:169) @40000000570af6f42f99c4a4 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilterImpl(CustomerContextSettingFilter.java:125) @40000000570af6f42f99cc74 at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilter(CustomerContextSettingFilter.java:116) @40000000570af6f42f99cc74 ... 3 filtered @40000000570af6f42f99d05c at com.atlassian.jwt.internal.servlet.JwtAuthFilter.doFilter(JwtAuthFilter.java:32) @40000000570af6f42f99d05c ... 8 filtered @40000000570af6f42f99d05c at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21) @40000000570af6f42f99d82c ... 4 filtered @40000000570af6f42f99d82c at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:36) @40000000570af6f42f99d82c ... 29 filtered @40000000570af6f42f99dc14 at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25) @40000000570af6f42f99e7cc ... 28 filtered @40000000570af6f42f99e7cc at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) @40000000570af6f42f99e7cc at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) @40000000570af6f42f99ebb4 at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) @40000000570af6f42f99ebb4 at java.lang.Thread.run(Thread.java:745) @40000000570af6f505def3dc 2016-04-11 10:59:23,098 http-nio-3009-exec-6 INFO rcordova+# 659x6695x1 1rhsz2m 103.233.242.8 /secure/MyJiraHome.jspa [c.a.p.connect.plugin.DefaultConnectAddonRegistry] Fetched AddonSettings for com.gliffy.integration.jira in 1ms
The effect is that such users will not receive the standard landing page, but does not affect the user's ability to use JIRA functionality.
Attachments
Issue Links
- clones
-
JDEV-36767 Loading...