neseleznev commented on code in PR #978:
URL: https://github.com/apache/cxf/pull/978#discussion_r1023140586


##########
core/src/main/java/org/apache/cxf/attachment/LazyDataSource.java:
##########
@@ -47,7 +50,13 @@ public LazyDataSource(String id, Collection<Attachment> 
attachments) {
     private synchronized void load() {
         if (dataSource == null) {
             for (Attachment a : attachments) {
-                if (a.getId().equals(id)) {
+                String attachmentId = a.getId();

Review Comment:
   It seems that this change https://github.com/apache/cxf/pull/1028 should fix 
it as well. Given the `attachmentId` which is valid domain, it should have no 
URL encode/decode issue in equality checks



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to