You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the function mega_get_folder_info the preg_match separe the string by:
$id = 8ll3lb6R
$key = ErrnqjmvDc1I9CsrJIkExQ!xt9WiT5S
And the correct key is ErrnqjmvDc1I9CsrJIkExQ whitout the last part that represent the folder.
At the moment (not the best solution) y remove the !xt9WiT5S with:
preg_match('/!(.?)!(.)/', $hash, $matches);
$id = $matches[1];
$key = $matches[2];
$pos = strpos($key,'!');
if($pos) $key = substr($key,0,$pos);
But maybe can be another solution because if the upper folder has more files them it going to give all.
See you =).
The text was updated successfully, but these errors were encountered:
Hi my friend.
I check a possible issue, if you enter an URL that is into a folder it has something like this:
https://mega.nz/#F!8ll3lb6R!ErrnqjmvDc1I9CsrJIkExQ!xt9WiT5S
In the function mega_get_folder_info the preg_match separe the string by:
$id = 8ll3lb6R
$key = ErrnqjmvDc1I9CsrJIkExQ!xt9WiT5S
And the correct key is ErrnqjmvDc1I9CsrJIkExQ whitout the last part that represent the folder.
At the moment (not the best solution) y remove the !xt9WiT5S with:
preg_match('/!(.?)!(.)/', $hash, $matches);
$id = $matches[1];
$key = $matches[2];
$pos = strpos($key,'!');
if($pos) $key = substr($key,0,$pos);
But maybe can be another solution because if the upper folder has more files them it going to give all.
See you =).
The text was updated successfully, but these errors were encountered: