This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 5 - Pages: 1 - Last Post: 22-Oct-2019 17:29 Last Post By: davidekholm Threads: [ Previous | Next ]
goudette

Posts: 5
Registered: 26-Jun-2010
Weblocation url containing # becomes weblocation containing %23
Posted: 10-Oct-2019 17:33
 
  Click to reply to this thread Reply
Hello,

I am using Jalbum 16.1.2
Since some weeks, I face a strange behaviour when using a weblocation with an anchor name :
http://www.genvalsaintpierre.org/022018/Agenda.html#messes

jAlbum translates this as :
http://www.genvalsaintpierre.org/092019/Agenda.html%23messes which logically fails at execution, giving a 404 Not Found error.

The only solution I found is to replace all %23 by # using Notepad after creation of the album :-(
The problem appears as well in Turtle skin as in Tiger skin : seems not to be linked with any skin.

How can i avoid this problem ?
Thanks in advance for your help.

Goudette.
jGromit

Posts: 7,345
Registered: 31-Jan-2006
Re: Weblocation url containing # becomes weblocation containing %23
Posted: 10-Oct-2019 18:06   in response to: goudette in response to: goudette
 
  Click to reply to this thread Reply
I've found that I can override it. I add the web location to the album project, then hit Update. But that fails because the hash tag has been encoded. But if I then manually change the hash tag back to #, while in edit mode for the web location, it doesn't encode it again, and it's correct in the finished album. You may have to tinker around with it a bit.

But yes, the encoding routine that jAlbum is using should not encode =, #, and ?, for exactly the reason you have discovered.
RobM

Posts: 3,088
Registered: 4-Aug-2006
Re: Weblocation url containing # becomes weblocation containing %23
Posted: 10-Oct-2019 20:37   in response to: goudette in response to: goudette
 
  Click to reply to this thread Reply
goudette wrote:
I am using Jalbum 16.1.2
You might want to consider updating to version 19, there are lots of positive changes :)
davidekholm

Posts: 3,558
Registered: 18-Oct-2002
Re: Weblocation url containing # becomes weblocation containing %23
Posted: 11-Oct-2019 09:34   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
I've fixed this in v19.0.3 now. The only encoding taking place is converting spaces to %20 now. Note, you need jAlbum 19, then select Tools->External tools->"jAlbum core update" to get 19.0.3.
goudette

Posts: 5
Registered: 26-Jun-2010
Re: Weblocation url containing # becomes weblocation containing %23
Posted: 22-Oct-2019 14:20   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Many thanks for your answers and for the fix in the code.

Best regards.
Goudette
davidekholm

Posts: 3,558
Registered: 18-Oct-2002
Re: Weblocation url containing # becomes weblocation containing %23
Posted: 22-Oct-2019 17:29   in response to: goudette in response to: goudette
 
  Click to reply to this thread Reply
You're welcome!
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums