[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.6 on Xubuntu 19.04 and 4.1.5 on Windows 7 (with winPenPack port).

Off-line until Aug. 31.
User avatar
Hagar Delest
Moderator
 
Posts: 28529
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: 238
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.
AOO 4.1.6, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the Writer guide.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
John_Ha
Volunteer
 
Posts: 6740
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: No registered users and 11 guests