Skip to content
This repository was archived by the owner on Oct 22, 2020. It is now read-only.

Commit c6c77e2

Browse files
committed
Fix odd typo in table prefix detection pattern
1 parent 5d96801 commit c6c77e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/wpxf/wordpress/hash_dump.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def determine_prefix
195195
return nil unless res&.code == 200
196196

197197
# If the prefix is found, regardless of the row mode, return it.
198-
@table_prefix = res.body[/#{bof_token}\:([^,]+?)usermeta\:#{eof_token}/, 1]
198+
@table_prefix = res.body[/#{bof_token}\:([^:]+?)usermeta\:#{eof_token}/, 1]
199199
return @table_prefix if @table_prefix
200200
return nil unless reveals_one_row_per_request
201201

0 commit comments

Comments
 (0)