-
-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/plugin install
does not work with redirect links + occasional crash
#1901
Comments
/plugin install
does not work with redirect links + occasional crash/plugin install
does not work with redirect links + occasional crash
I believe But the AFAIK this code is from you. Maybe you still remember what is the idea behind this? I can continue to look at it the next days. And I got also the following, but I think that's two different issues:
Might be a problem with 865a056 ? |
Double free was introduced earlier in a cleanup commit 865a056 It was reported earlier by me and then by @jubalh profanity-im#1901
Empty file is not a normal condition for file downloading, thus user has to be notifed. Related to profanity-im#1901
Once both PRs are merged, issue can be closed. |
Fix profanity-im#1901 Suggested by @jubalh
Empty file is not a normal condition for file downloading, thus user has to be notifed. Related to profanity-im#1901
Fix profanity-im#1901 Suggested by @jubalh
Empty file is not a normal condition for file downloading, thus user has to be notifed. Related to profanity-im#1901
Double free was introduced earlier in a cleanup commit 865a056 It was reported earlier by me and then by @jubalh profanity-im#1901
Double free was introduced earlier in a cleanup commit 865a056 It was reported earlier by me and then by @jubalh profanity-im#1901
Expected Behavior
On
/plugins install <redirect_link>
, follow the redirect, download the plugin.Current Behavior
On
/plugins install <redirect_link>
, it just "downloads" an empty file and loads it without an error. Also sometimes it leads to a crash.Possible Solution
Null-check for file, following the redirects, fix the crash as well.
Steps to Reproduce (for bugs)
/plugins install https://github.com/profanity-im/profanity-plugins/raw/master/stable/syscmd.py
Context
Self-explanatory
Environment
Master branch, other environment does not matter :)
The text was updated successfully, but these errors were encountered: