Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Infinite horizontal scrolling - Burp v2020.1 #60

Closed
Hannah-PortSwigger opened this issue Feb 3, 2020 · 11 comments
Closed

Infinite horizontal scrolling - Burp v2020.1 #60

Hannah-PortSwigger opened this issue Feb 3, 2020 · 11 comments

Comments

@Hannah-PortSwigger
Copy link

We’ve just released a new version of Burp that has some big changes to the HTTP message editor.

Notably, a scroll pane is now implemented inside the message editor.

Unfortunately, this has caused an infinite scrolling issue with your extension. This was reported to us by a user of your BApp, who provided a video of the issue (https://monosnap.com/file/Gqw1tXkXKupRRSAsBSEN3rcjbAYyDw).

If possible, could you remove the scroll pane instance you have implemented, and create a pull request against the PortSwigger branch of your repository so that we can review the changes and update the BApp?

@mattymcfatty
Copy link

ditto

@mattymcfatty
Copy link

hey @HannahLaw-Portswigger is this change documented anywhere? I tried poking around to change the code myself but wasn't sure what to replace the references to JScrollPane with. I couldn't find references to scroll functions in burp extender online anywhere. Could you help point me in the right direction?

@Hannah-PortSwigger
Copy link
Author

Removing the instance of JScrollPane in line 714 seems to fix the infinite scrolling issue. After that, it would be a matter of sorting out the UI again so that it looks nice (I would guess restricting the initial size of the message editor).

I don't have any documentation to provide you with, unfortunately.

splitpane.setRightComponent(JScrollPane(sc))

@Hannah-PortSwigger
Copy link
Author

This issue should be resolved in the next release of Burp.

@putsi
Copy link

putsi commented Apr 21, 2020

This issue seems to still be present on UploadScanner that is loaded from BApp store and installed in Burp v2020.2.1.
I tried the fix provided by @HannahLaw-Portswigger but it completely removed the whole right pane.

@Hannah-PortSwigger
Copy link
Author

This issue was fixed shortly after the release of 2020.2.1, so it was unable to be included in that release. We have not yet released 2020.3 (but it shouldn't be too far off).

@putsi
Copy link

putsi commented Apr 22, 2020

Ok, do you know if there is a hotfix that I can apply? I tried removing the line 714 but it completely removes the panel.

@Hannah-PortSwigger
Copy link
Author

You could replace the scroll pane instance with a panel of some type. However, we have fixed the root cause of the issue, which will be in the next release.

@bluecanarybe
Copy link

@HannahLaw-Portswigger

I've been waiting for this, thanks!

@Hannah-PortSwigger
Copy link
Author

We're pleased to announce the release of Burp v2020.4

@putsi
Copy link

putsi commented Apr 27, 2020

Can confirm that the bug is now fixed on Burp v2020.4.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants