[Solved] URL conversion of %23 to "#" and 404

Discuss the word processor

[Solved] URL conversion of %23 to "#" and 404

Postby taadev » Sun Jan 22, 2017 10:34 pm

This may be a problem with certain browsers but when I enter a link of:
http://dragonspaw.blogspot.com/search/label/%23%23prerequisite

With the same description. The link is converted to:
http://dragonspaw.blogspot.com/search/label/#%23prerequisite

This is invalid and generates a 404 when clicked.

Any idea as to how to prevent this 'help' by Writer or other work around? :idea:

Thanks a million!

ta :?:
Last edited by Hagar Delest on Mon Jan 23, 2017 10:04 pm, edited 1 time in total.
Reason: tagged [Solved].
OpenOffice 4.1 on Windows / Libre office 3.6 Raspian 7.8
taadev
 
Posts: 3
Joined: Tue Sep 01, 2015 11:23 am

Re: URL conversion of %23 to "#" and 404

Postby Hagar Delest » Mon Jan 23, 2017 12:43 am

Hi and welcome to the forum!

There was a recent discussion about that here: [Solved] Hyperlinks change upon insertion. However, it had no impact on the true url. In your case, however, only the first %23 is replaced by its value (#). I tried with 2 ## and it doesn't work.
This is something related to url parsing with unicode but I'm not an expert.
AOO 4.1.7 on Xubuntu 20.04 and 4.1.5 on Windows 10 (with winPenPack port).
User avatar
Hagar Delest
Moderator
 
Posts: 28893
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: URL conversion of %23 to "#" and 404

Postby musikai » Mon Jan 23, 2017 1:41 am

Can confirm it with LO4.4.7.
In odt and PDF-Export the first %23%23 gets converted to #%23
When exporting to html both get converted to ##
For usage in PDF best don't insert as Hyperlink but unformatted text, so the PDF-Reader can detect correctly.
Win7 Pro, Lubuntu 15.10, LO 4.4.7, OO 4.1.3
Free Project: LibreOffice Songbook Architect (LOSA)
http://struckkai.blogspot.de/2015/04/libreofficesongbookarchitect.html
musikai
Volunteer
 
Posts: 282
Joined: Wed Nov 11, 2015 12:19 am

Re: URL conversion of %23 to "#" and 404

Postby taadev » Mon Jan 23, 2017 6:04 pm

Then this is a bug and it's on the XP and Win 7 versions as well.

This is by far the best Office version and my first use was Libre; your's is far more stable!

Thanks for the great tool, and help folks!

Regards,
T

ps: Is there a bug report that can be monitored?
Thx again!
OpenOffice 4.1 on Windows / Libre office 3.6 Raspian 7.8
taadev
 
Posts: 3
Joined: Tue Sep 01, 2015 11:23 am

Re: URL conversion of %23 to "#" and 404

Postby John_Ha » Mon Jan 23, 2017 6:16 pm

A workaround could be to shorten the url with https://goo.gl/

taadev wrote:This is by far the best Office version and my first use was Libre; your's is far more stable!

I agree. LO seems to favour new function over stability whereas AOO favours stability over new function.
LO 6.3.5.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 7711
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: URL conversion of %23 to "#" and 404

Postby taadev » Mon Jan 23, 2017 7:02 pm

As a former IBM'er that loaths the WinTel memory Hog/BUG model to drag you forward into their back door/ravioli code model, stability is my concern.
(C/ASM/RPG II/III/400/JAVA/VB and about 10 other minor langs.)

Thanks for the idea and I can't believe that did not occur to me as TinyURL is used all the time!
Worked like a charm! :super:
http://TinyURL.com/DragonsPawPrereqs

If you're not aware of the secret "race war" being covered up by ALL Western national media, and seen only on local news, see:
(Cloud drive of US interstate violence and rampant black crime; it's 'racist' to finger black and Jewish racism, criminality and violent crime! Total crap!)

All cultures, elderly, children, babies, women, etc.: :shock:
http://TinyURL.com/BlackVIOLENCEMatters
or
http://TinyURL.com/LatinosBleedaLot
or
http://TinyURL.com/ASIANSBleedaLot

You need some means to defend your family as the media/feds are pushing these Qabala ritual false flags like they pulled in Charleston, as real to piss off the black people and have done a great job!
OpenOffice 4.1 on Windows / Libre office 3.6 Raspian 7.8
taadev
 
Posts: 3
Joined: Tue Sep 01, 2015 11:23 am


Return to Writer

Who is online

Users browsing this forum: BubikolRamios, Google [Bot] and 9 guests