On 30 August 2012 08:14, ping <[email protected]> wrote:
> this doesn't works:
> link:http://www-in.abc.com/~pings/webdata/pings-vedio.flv[video]

~ is illegal character in URLs

>
> this works:
> link:http://www-in.abc.com/\~pings/webdata/pings-vedio.flv[video]
>

a "friendly" browser must accept \ as an escape although it isn't standard

> this doesn't work:
> link:http://www-in.abc.com/\~pings/webdata/ping's toi_2_0.flv[video]

space ends a macro, the Asciidoc User Guide 21.1.1 says:

"If the <target> necessitates space characters use %20, for example
large%20image.png."

>
> even this doesn't work
> link:http://www-in.abc.com/\~pings/webdata/ping's%20toi_2_0.flv[video]

pass, might be the ' although it is legal in a URL it often has special meaning

>
> and URL displays as (firefox copy link location):
> http://www-in.abc.com/%5C~pings/webdata/ping%E2%80%99s%20toi_2_0.flv

Ask firefox.

>
> what happens here?

Basic advice for URLs (this is not asciidoc specific) is don't use any
punctuation characters without escaping them to hex.  That includes
the ~

Cheers
Lex

>
>
> --
> You received this message because you are subscribed to the Google Groups
> "asciidoc" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/asciidoc?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to