owasp-java-encoder icon indicating copy to clipboard operation
owasp-java-encoder copied to clipboard

Compile error

Open ghost opened this issue 2 years ago • 6 comments

Compilation breaks with org.owasp.esapi:esapi:2.5.1.0 because org.owasp.encoder.esapi.ESAPIEncoder.Impl does not implement the new methods

  • org.owasp.encoder.esapi.ESAPIEncoder.Impl#decodeFromJSON
  • org.owasp.encoder.esapi.ESAPIEncoder.Impl#encodeForJSON

which were introduced with the 2.5.1.0.

Solution (?):

  • Set a fix dependency on the previous version of org.owasp.esapi:esapi
  • Implement and test the missing interface functions
  • Update the dependency

ghost avatar Nov 30 '22 14:11 ghost

@Manicode- I can submit a PR to fix this for you if you want, but I am away on business with only a company laptop, so I likely won't be able to address it until probably Saturday.

On Wed, Nov 30, 2022, 9:40 AM SOLcoelle @.***> wrote:

Compilation breaks with org.owasp.esapi:esapi:2.5.1.0 because org.owasp.encoder.esapi.ESAPIEncoder.Impl does not implement the new methods

  • org.owasp.encoder.esapi.ESAPIEncoder.Impl#decodeFromJSON
  • org.owasp.encoder.esapi.ESAPIEncoder.Impl#encodeForJSON

which were introduced with the 2.5.1.0.

Solution (?):

  • Set a fix dependency on the previous version of org.owasp.esapi:esapi
  • Implement and test the missing interface functions
  • Update the dependency

— Reply to this email directly, view it on GitHub https://github.com/OWASP/owasp-java-encoder/issues/63, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAO6PG64JDKDWFGEY67JMXLWK5RNVANCNFSM6AAAAAASPWTYMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-kevin

kwwall avatar Nov 30 '22 22:11 kwwall

Hi, What is the latest on this issue?

TheMarvelFan avatar Nov 22 '23 16:11 TheMarvelFan

@TheMarvelFan - I never heard back from @Manicode (but perhaps that's because he's not using GH handle @jmanico) so I never submitted a PR. But given that I and on the verge of releasing a new ESAPI release (2.5.3.0) in the next day or two, it seems prudent to wait until that is released.

@jmanico - I think this is related to the esapi-thunk portion of the OWASP Java Encoder project. I think the fix should be pretty easy.

kwwall avatar Nov 22 '23 16:11 kwwall

Alright I will check back after 2 days, and open a PR asap.

TheMarvelFan avatar Nov 22 '23 17:11 TheMarvelFan

Kevin, I have not touched this in a while. Would you care to help?

jmanico avatar Nov 22 '23 22:11 jmanico

Sure. I'll create a PR for it a soon as the new ESAPI 2.5.3.0 release is available from Maven Central. Should have that done by this Friday at the latest.

-kevin

On Wed, Nov 22, 2023, 5:46 PM Jim Manico @.***> wrote:

Kevin, I have not touched this in a while. Would you care to help?

— Reply to this email directly, view it on GitHub https://github.com/OWASP/owasp-java-encoder/issues/63#issuecomment-1823597970, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAO6PGZUDR2RRWN464W3QNTYFZ6F3AVCNFSM6AAAAAASPWTYM2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRTGU4TOOJXGA . You are receiving this because you commented.Message ID: @.***>

kwwall avatar Nov 23 '23 00:11 kwwall