]
Dan Berindei updated ISPN-10498:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
Rest Body Content contains junk with HeapByteBuf
------------------------------------------------
Key: ISPN-10498
URL:
https://issues.jboss.org/browse/ISPN-10498
Project: Infinispan
Issue Type: Bug
Components: REST
Affects Versions: 10.0.0.Beta5
Reporter: Will Burns
Assignee: Will Burns
Priority: Major
Fix For: 10.0.0.CR1
The code at
https://github.com/infinispan/infinispan/blob/cd3a25e6caffd719c624727b235...
returns the entire byte[]. Instead it should be returning a copy if the offset !=0 and
readableBytes() != length.