Skip to content

Commit

Permalink
Adjust parameters boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
cak committed Dec 17, 2019
1 parent d2fa3cf commit 302a5e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/BookmarkTab.kt
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ class BookmarksPanel(private val callbacks: IBurpExtenderCallbacks) {
val length = requestResponse.response?.size?.toString() ?: ""
val protocol = requestInfo?.url?.protocol ?: ""
val file = requestInfo?.url?.file ?: ""
val parameters = requestInfo.parameters.isNullOrEmpty()
val parameters =
!requestInfo.parameters.filter { it.type != IParameter.PARAM_COOKIE }.isNullOrEmpty() || !requestInfo.url.query.isNullOrEmpty()
val comments = requestResponse.comment ?: ""
val bookmark = Bookmark(
savedRequestResponse,
Expand Down

0 comments on commit 302a5e2

Please sign in to comment.