[pmwiki-users] ExtensionHub
Petko Yotov
5ko at 5ko.fr
Sat Apr 20 08:22:52 PDT 2024
I've released a new version fixing the Windows paths, and Hans confirmed
it worked.
If you notice any other problems please let me know.
Petko
On 20/04/2024 14:55, Hans Bracker wrote:
> Hello Petko,
>
> Saturday, April 20, 2024, 1:23:56 PM, you wrote:
>
>> Thank you for the heads up.
>
>> Indeed, there was an omission on my part, Windows paths were not
>> escaped.
>
>> Here \W and \t in your path are special sequences in a regular
>> expression pattern, and so the actual paths don't match.
>
>> I have released a new Hub version today, let me know how it works - I
>> don't have a windows machine to test.
>
> I get same warnings and no filterable input box .
>
> Warning: Undefined array key "unknown" in
> D:\Websites\_home\test6\extensions\hub.php on line 339
> Warning: Trying to access array offset on value of type null in
> D:\Websites\_home\test6\extensions\hub.php on line 340
>
> I can see that the matching in extCaller() does not deliver any
> matches. The extra backslashes do not help.
> I am not sure what the preg_match should match, to test any further.
>
> ~Hans
More information about the pmwiki-users
mailing list