update-browser bug or Firefox ESR bug?

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

update-browser bug or Firefox ESR bug?

Post#1 by Rava » 23 Sep 2021, 14:44

I just used update-browser -d -f and choose creating the ESR version.

In the setup I gave update-browser this default homepage URL:

Code: Select all

https://forum.porteus.org/search.php?search_id=egosearch
since that this lets the browser to instruct forum.porteus.org to first open the login screen, and after that it shows me the most recent changed posts in all the threads I posted so far, aka "Quick Links ▷ Your posts", aka my "subscribed" threads as some forums call such.

But this is what either Firefox or ncmprhnsbl script turned it into:

Code: Select all

https://forum.porteus.org/search.php?search_id=egosearch/
That URL by itself is useless. It only does a useless search and so strains the forum.porteus server needlessly, and results in 0 matches.

In FFx settings FFx indeed shows that this is the URL

Code: Select all

https://forum.porteus.org/search.php?search_id=egosearch/
it is set up to be the homepage - which is a utterly senseless URL.

I have no clue how that could have happened.

I also created the most recent PM version using the same URL as homepage and this is what PM tells me its homepage is:

Code: Select all

http://forum.porteus.org/search.php?search_id=egosearch
Here once again a single misplaced character changes a good URL into a senseless one.

Is the change due to a bug in the live version of update-firefox-live or is it a bug in FFx itself?


A homepage can be anything a user so desires, and wanting to log in into the best Linux forum there is and then having told the forum to show you the wanted threads is a very valid homepage for all and any browsers..

Why mess it up by adding a unnecessary / at the end? A given homepage needs to always be treated literally, not knowing if adding a simple / at the end when there was none originally can be harmless (like with changing http://ard.de into http://ard.de/ )

"Simple" URLs like these do not create a difference between the version with the / and without the / at the end.

But complex URLs like the "let me log into http://forum.porteus.org and then show me the most recent of my "subscribed" threads" can be messed up by a seemingly innocent / at the end.

Of course the user can simply edit the homepage URL in settings and remove the / at the end.

But a user usually wants his/her modules to work as intended from the stand and not having every time when used in a fresh environment to be fixed. Again. And again.

So please, if the added "/" is indeed a bug in update-firefox-live please fix that bug. :)
Cheers!
Yours Rava

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

update-browser bug or Firefox ESR bug?

Post#2 by ncmprhnsbl » 23 Sep 2021, 23:04

should be fixed now.. mirror propagation later..
sed command was missing the trailing '\'
thanks for reporting.
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

update-browser bug or Firefox ESR bug?

Post#3 by Rava » 23 Sep 2021, 23:13

^

You are very welcome and thanks for all your good work. :)
Cheers!
Yours Rava

Post Reply