Links with [ or ] symbols

View: New views
3 Messages — Rating Filter:   Alert me  

Links with [ or ] symbols

by Harald Krammer-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hello,
what's is the right method to add links with '['or ']' symbols into JSPWiki?

e.g. http://foo.bar/?balbal[problemcmd]blabla[moreproblems]

Solution like [my link;
http://foo.bar/?balbal[problemcmd]blabla[moreproblems]] doesn't work.

Any helps are welcome
Harald
- --

Harald Krammer
Brucknerstrasse 33
A - 4020  Linz
AUSTRIA

Mobil +43.(0) 664. 130 59 58
Mail: Harald.Krammer (at) hkr.at
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEAREIAAYFAkrcu7QACgkQ9QlAsubHO9u1jwCcDoQ+x0wty/MoTQE9f+W3chJM
BXsAn08HdYsENP+kgTFA1AjJNgouVl5c
=5Juu
-----END PGP SIGNATURE-----

Re: Links with [ or ] symbols

by Janne Jalkanen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


You gotta realize that "[" and "]" are illegal characters in URLs.  So  
you need to replace them with their percent-encoding versions (which  
your browser might do automatically), just like what you would do with  
regular HTML.

%5B = [
%5D = ]

/Janne

On Oct 19, 2009, at 22:19 , Harald Krammer wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Hello,
> what's is the right method to add links with '['or ']' symbols into  
> JSPWiki?
>
> e.g. http://foo.bar/?balbal[problemcmd]blabla[moreproblems]
>
> Solution like [my link;
> http://foo.bar/?balbal[problemcmd]blabla[moreproblems]] doesn't work.
>
> Any helps are welcome
> Harald
> - --
>
> Harald Krammer
> Brucknerstrasse 33
> A - 4020  Linz
> AUSTRIA
>
> Mobil +43.(0) 664. 130 59 58
> Mail: Harald.Krammer (at) hkr.at
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEAREIAAYFAkrcu7QACgkQ9QlAsubHO9u1jwCcDoQ+x0wty/MoTQE9f+W3chJM
> BXsAn08HdYsENP+kgTFA1AjJNgouVl5c
> =5Juu
> -----END PGP SIGNATURE-----


Re: Links with [ or ] symbols

by Harald Krammer-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hello Janne,
no, I didn't know that. This illegal characters are included on a
external URL.

Thanks it works.
Greetings,
Harald


Janne Jalkanen schrieb:

>
> You gotta realize that "[" and "]" are illegal characters in URLs.  So
> you need to replace them with their percent-encoding versions (which
> your browser might do automatically), just like what you would do with
> regular HTML.
>
> %5B = [
> %5D = ]
>
> /Janne
>
> On Oct 19, 2009, at 22:19 , Harald Krammer wrote:
>
> Hello,
> what's is the right method to add links with '['or ']' symbols into
> JSPWiki?
>
> e.g. http://foo.bar/?balbal[problemcmd]blabla[moreproblems]
>
> Solution like [my link;
> http://foo.bar/?balbal[problemcmd]blabla[moreproblems]] doesn't work.
>
> Any helps are welcome
> Harald

- --

Harald Krammer
Brucknerstrasse 33
A - 4020  Linz
AUSTRIA

Mobil +43.(0) 664. 130 59 58
Mail: Harald.Krammer (at) hkr.at
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEAREIAAYFAkrd+isACgkQ9QlAsubHO9u3LgCfQ2PgKzwll3yxcqHBuuMSjTHJ
rqYAnjHBIV6BUgwt5k7868mSQgtJGZku
=sEW0
-----END PGP SIGNATURE-----