Details

      Description

      This issue appears to be caused by the encoding of plus signs in base64 data URLs.

      Steps to reproduce:

      1. Replace the contents of h:body in jsf-applicant-portlet portletViewMode.xhtml with:
         <h:graphicImage
             url="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFYAAAAVCAIAAABT+I5iAAAAA3NCSVQICAjb4U/gAAAAEHRFWHRTb2Z0d2FyZQBTaHV0dGVyY4LQCQAABL5JREFUWMNj/P//P8PIBkwMIx6MBgEDC8P/06OpYDQjwMCfrz8WSyR/e/aOoJ435+5ttKleoZqzL2YCGVbemLt3nUnZcqWs07XLh2oquNi1QSnEMuL2FKclBWRo10h2DjrTpRBgiin1/8+fxRLJn++/HOxB8OXxW0Et2eFTHF6btuP67D1/fvzSzfVGio7/N+fvuzF33/dXH4X05C27Y3mVJBgYGA6lz3h74cHXp+9OlCxk5mQTNVaymZbGwMBwZ+mha7N2f338lomdRd7b2LQ5gpmT/f+fP0tk0v0Ot/CrSjIwMOwK7JTzMdFIdsbllG0ezT/ff2VgYNgd0sPIwiyoJe0wPxeP07e6NQtqSn9+8Or35+/86tIWXTGsvFwQS43rQh9uO/vt2XtZd0Oz9miI+hdHrp+qXvb18Vs5b6P3155oZbgrhVoyMDCwXOzd7L6+lF9V8mjePLjptxcfujxpu/OyfAE1yWszdu1PmOK7v5GRmdluZgYDA8N68wrT5kgZN324ekYWZqv+RCFd+Z9vP+0O6702fZdukS+pseG1oxbiAdc1JbyK4sRoeXvpoefWKhZOtoOpMy50rDdthfr204NXnluqf779vN6iUjHIQtRU+dfHrwcSpxrXhapEWt9afOje6uOIjCDrYSCkp8DMya5bgEgFNxfu185yF9SSZWRh0cry+Pr0/YfrT/E4RTncWsRIiYmVmVNCUN7P9O2lh/RJw4oBZixc7AyMjCqRNg82nYGLq4RbMzAwsAvzCmhIfbz1lIGB4dn+q6w8HKqx9owsLOoJjuzCvIiMwCUhAGFxSwnBRb8+eXdt+s5bCw9AFXGyfX/9URC3U14eu3lpwpYvD179//f/9+cfIkaK9AkCdkEeGIP7x5vPDLDGPisfFzSGWZj//PjNwMDw/eUHTnF+WKJl5BTjRwTBzw9fIawf777ARbllhLSzPRSDLIhxx9/vP/dG9Vv2JCgEmTEyMV3o2vD23D0GBgZGZmZGFub/v/9ClP369B2lHGZl+f8Xo3vCyAgpiYgMgq8v3kMY356/5xDhgWrHBjjFBb6//Agv6b6/+ohwydPdl36+/czAwHB7yUG4qFqc/eX+LR+uP2FgYPj1/svd5Uf+//mDy/Q/33///fFb2FCBkYnpx5tPD9adhPuHX0Xi1enbDAwM7y4/RMtK/GpSr0/f+fvjF0oIMDNziPK9u/wY05azjSs3O9WjCd5dceTLw9e/P327Pmu3nJcxnsCSctT+/eXHnWWH///7d3vxIYiXoalAO8tjZ1AXGx+XqKkyUhA4/P/771DajK9P37HyckrYaiiFWeJMjUI85h0x++Mnswtys/JwilupfXsGjRzTpojjpYtuLzksqC0jbKiArEsl0ub5oWurtAoYGBhCLvTAk65xXdjZplWn61YI6cg6LUW0O76/+vTlwWs0q+X9TPZE9v9481nKUduoOhhPELDxczvMzz5VtfRM3Qo5b2NBbVlGWHuA8f+/U0O0Pt/q1qyR5KQcYU2G3nXGpVYTkyRsNEdWH+HZgSs/3nxiYGB4vP38nx+/hQ0UYD3FEQPenLl7JHsOAwMDj4yQw7wsVh5OaEb49OnTCO8pMo4OnI2OFzAAAEPK1/zdPgbdAAAAAElFTkSuQmCC" />
        
      2. Deploy the portlet and navigate to it.

      If the bug still exists, the portlet will be empty.

      If the bug is fixed, the following image will appear:

      Workaround

      To work around this bug, use the <img> tag with src to bypass Faces URL encoding instead of an h:graphicImage:

      <img
          src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFYAAAAVCAIAAABT+I5iAAAAA3NCSVQICAjb4U/gAAAAEHRFWHRTb2Z0d2FyZQBTaHV0dGVyY4LQCQAABL5JREFUWMNj/P//P8PIBkwMIx6MBgEDC8P/06OpYDQjwMCfrz8WSyR/e/aOoJ435+5ttKleoZqzL2YCGV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RMtK/GpSr0/f+fvjF0oIMDNziPK9u/wY05azjSs3O9WjCd5dceTLw9e/P327Pmu3nJcxnsCSctT+/eXHnWWH///7d3vxIYiXoalAO8tjZ1AXGx+XqKkyUhA4/P/771DajK9P37HyckrYaiiFWeJMjUI85h0x++Mnswtys/JwilupfXsGjRzTpojjpYtuLzksqC0jbKiArEsl0ub5oWurtAoYGBhCLvTAk65xXdjZplWn61YI6cg6LUW0O76/+vTlwWs0q+X9TPZE9v9481nKUduoOhhPELDxczvMzz5VtfRM3Qo5b2NBbVlGWHuA8f+/U0O0Pt/q1qyR5KQcYU2G3nXGpVYTkyRsNEdWH+HZgSs/3nxiYGB4vP38nx+/hQ0UYD3FEQPenLl7JHsOAwMDj4yQw7wsVh5OaEb49OnTCO8pMo4OnI2OFzAAAEPK1/zdPgbdAAAAAElFTkSuQmCC" />
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kyle.stiemann Kyle Stiemann
                Reporter:
                kyle.stiemann Kyle Stiemann
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: