URL encoding problem

Found a bug? Tell us!!
Post Reply
Rexxer
Regular
Posts: 62
Joined: Sat Oct 22, 2005 11:10 am

URL encoding problem

Post by Rexxer »

Hi,

I have a problem with this URL: http://www.koss.com/koss/kossweb.nsf/p? ... ^SPARKPLUG which is ecoded in my blog as http://www.koss.com/koss/kossweb.nsf/p? ... >SPARKPLUG so the ^-characters have been converted to <sup> and </sup> respectively. I don't know which of the markup plugins might have been responsible but I would rather prefer if markup would not be applied to URLs. Does anyone have an idea what I can do to disable the encoding completely, as I don't use any special markup in the blog post.

TIA,
Andre
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: URL encoding problem

Post by garvinhicking »

Hi!

I think the "Serendipity Markup/Textformatierung" plugin does that to you :)

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Rexxer
Regular
Posts: 62
Joined: Sat Oct 22, 2005 11:10 am

Re: URL encoding problem

Post by Rexxer »

garvinhicking wrote:Hi!

I think the "Serendipity Markup/Textformatierung" plugin does that to you :)

Best regards,
Garvin
Okay, so how can I deactivate that for this post? It's not that I want to disable it completely, but in this post it's not really needed. Alternatively it would be nice if markup would leave URL as they were entered, but I guess that's not that easy.

Greetings,
Andre
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: URL encoding problem

Post by garvinhicking »

Hi!

Using Serendipity 1.0 (or is it 1.1?) you can disable specific markup plugins for posts by using the "Extended properties for entries" plugin. You then have a dropdown to specify which plugin should be enabled for this posting.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Rexxer
Regular
Posts: 62
Joined: Sat Oct 22, 2005 11:10 am

Re: URL encoding problem

Post by Rexxer »

garvinhicking wrote:Hi!

Using Serendipity 1.0 (or is it 1.1?) you can disable specific markup plugins for posts by using the "Extended properties for entries" plugin. You then have a dropdown to specify which plugin should be enabled for this posting.

Best regards,
Garvin
I'm using s9y 1.0 and serendipity_event_entryproperties version 1.8. But unfortunately I don't see any dropdown that allows me to set certain markup. The only dropdown I have is the list of authors. What can I do about that?

TIA,
Andre
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: URL encoding problem

Post by garvinhicking »

Hi!

Hm, then this functionality only comes with s9y 1.1. So either you need to upgrade, or you need to disable the serendipity markup all together.

OR you go the other approach: "^" is not an allowed URL character. If you replace that with the real URL escaped character %5E, s9y will not try to replace anything.

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Rexxer
Regular
Posts: 62
Joined: Sat Oct 22, 2005 11:10 am

Re: URL encoding problem

Post by Rexxer »

garvinhicking wrote:Hi!

Hm, then this functionality only comes with s9y 1.1. So either you need to upgrade, or you need to disable the serendipity markup all together.
That's not something I would like to do.
garvinhicking wrote:OR you go the other approach: "^" is not an allowed URL character. If you replace that with the real URL escaped character %5E, s9y will not try to replace anything.

HTH,
Garvin
My Firefox accepted the "^" in the URL without escaping it, but the escaping worked.

THX,
Andre,
who is waiting for all the new features, s9y 1.1 will provide. :-)
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

FireFox does all kinds of nice things for you: blocking popups, tabbed browsing, adding www. and .com, escaping invalid URL characters...
Judebert
---
Website | Wishlist | PayPal
Post Reply