[
https://issues.apache.org/jira/browse/OFBIZ-12273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17389999#comment-17389999
]
ASF subversion and git services commented on OFBIZ-12273:
---------------------------------------------------------
Commit 6271d220b6ae726ec0d788efb5b315315982b6c2 in ofbiz-framework's branch
refs/heads/release17.12 from Nicolas Malin
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=6271d22 ]
Fixed: IndexOutOfBoundsException on Entity Import (OFBIZ-12273)
Backport e4919d16ca33face162defb0e3a07373a8f9f374 from trunk
Removes the localhost (and 127.0.0.1) OOTB.
Allows to use it through a "multi-property" (list) in security.properties.
Conflict handled by hand in security.properties
> IndexOutOfBoundsException on Entity Import
> ------------------------------------------
>
> Key: OFBIZ-12273
> URL: https://issues.apache.org/jira/browse/OFBIZ-12273
> Project: OFBiz
> Issue Type: Bug
> Components: framework/webtools
> Affects Versions: 18.12.01, Release Branch 17.12, Trunk
> Reporter: Sebastian Berg
> Assignee: Jacques Le Roux
> Priority: Major
> Labels: import
>
> I get an IndexOutOfBoundsException when using the EntityImport.
> The problem occurs while having a resemblance of an url in the data.
> For example '
> screenPath="component://project/widget/project/ContentScreens.xml#main-page-template"'
> is interpreted as url because of '://' but doesn't match a valid url
> pattern.
> The problem seems to be directly connected to Issue OFBIZ-12249. I think the
> used pattern in UtilHttp.exctractUrl() should at least be configureable like
> the customSafePolicy. [~jleroux] maybe you can have a look since you
> implemented the changes.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)