[webkit-help] Fw: Webkit chops the URL with character "#" ?
guillaume at bienkowski.fr
Thu Feb 7 12:52:14 PST 2013
That's because the browser _will_ chop this part of this URL.
'#' is a reserved part of the URI scheme, after which all characters are
considered as a "fragment id", which is _never_ sent to the website. This
part of the URL stays local to the browser.
Actual websites using this scheme as a way to navigate must use a
content through AJAX.
I tested in a Qt5.0.1 WebView (QML), and I have no problem loading your URL.
On Thu, Feb 7, 2013 at 8:37 PM, y w <ytrac00 at yahoo.com> wrote:
> --- On *Thu, 2/7/13, y w <ytrac00 at yahoo.com>* wrote:
> From: y w <ytrac00 at yahoo.com>
> Subject: Webkit chops the URL with character "#" ?
> To: webkit-help at lists.webkit.org
> Received: Thursday, February 7, 2013, 2:35 PM
> Hi All,
> I found issue of processing URL:
> I create a simple webview and load page from a url string, it works fine
> for most given urls but not good for
> if I encode the url as
> it will give another error page.
> I got always the page http://money.cnn.com/m which is home page of the
> news not the exactly article page. But if I input the full url in any
> browser(Safari, Firefox, chrome) it works fine.
> It seams the url been chopped from "#" character by webkit.
> This happen for both Mac and Linux: I am using the night
> dump WebKit-r116865, tested with Cocoa application(iMac), Ubuntu 12.04
> Does any one know why?
> webkit-help mailing list
> webkit-help at lists.webkit.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-help