The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

[MontoyaAPI][EditorOptions] Not Working

Alexandre | Last updated: Aug 12, 2024 11:23PM UTC

It appears there may be a bug in the Montoya API. I am using version net.portswigger.burp.extensions:montoya-api:2024.7, and I've encountered an issue where the WRAP_LINES and SHOW_NON_PRINTABLE_CHARACTERS options are not functioning as expected when applied to a RawEditor. Despite the documentation indicating that these options are applicable to RawEditor, I receive the following error: java.lang.NoSuchFieldError: Class burp.api.montoya.ui.editor.EditorOptions does not have member field 'burp.api.montoya.ui.editor.EditorOptions SHOW_NON_PRINTABLE_CHARACTERS' It would be appreciated if this could be investigated. Thank you! Alex

Hannah, PortSwigger Agent | Last updated: Aug 13, 2024 03:49PM UTC

Hi Alex Could you drop us an email at support@portswigger.net with your diagnostics (Help > Diagnostics) and some example code? Just to double-check, are you creating a new RawEditor?

Alexandre | Last updated: Aug 14, 2024 04:07PM UTC

I have sent a follow-up email with more details to support@portswigger.net. To clarify, I am instantiating a new RawEditor and attempting to pass various options. While EditorOptions.READ_ONLY works as expected, I am encountering errors with EditorOptions.WRAP_LINES and EditorOptions.SHOW_NON_PRINTABLE_CHARACTERS.

Hannah, PortSwigger Agent | Last updated: Aug 15, 2024 10:36AM UTC