Yape
Yape copied to clipboard
Port handling in options.js and storage.js does not allow subdirectory reverse proxy configurations for Pyload
because serverIP and port variables are always concated in a set fashion the url handling does not allow for subdirectory configurations for those utilizing a reverse proxy for pyload. By simply omitting port from storage.js and options.js. i was able to make it work since its always https 443. Other than that it works great!
just to note; had to retool the server validation line likeso const isValidName = /^(?!://)([a-zA-Z0-9]+.)?[a-zA-Z0-9][a-zA-Z0-9-]+.[a-zA-Z]+/[a-zA-Z0-9]{2,6}?$/i.test(value);
Same problem, my pyload is behind a proxy and has the "Path Prefix" set. So I can't use the parameter fields with my configuration. I tried to modify the extension files as slashmach1 did, but my firefox does not want to install unsigned extensions...
i should mention my work and testing were on the Chrome version of the extension. additional steps may be needed for firefox
Same here, the plugin configuration tries to login at an invalid URL e.g. https://mydomain.com/pyload:443/api/login
.
The new version of Yape now supports subdiretory/path on top of the base URL, there is a new input field in the options page as well as an explicit view of the current URL for convenience and clarity.
Preview:
Feedbacks are welcome !
Thanks for the new option, but it does not seem to save the field "PyLoad server's path" when I put it and save, the plugin says "You are logged in " and when I reload the plugin options, the field shows only / and it does not work...
Thank you for the feedback @lgrenier, the issue has been fixed in version v1.1.2
.
It works ! Thanks