Bug 23648 - & in link does not get converted to &
Summary: & in link does not get converted to &
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 525.x (Safari 3.2)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://dashb-cms-sam.cern.ch/dashboar...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-30 09:51 PST by Edward Karavakis
Modified: 2009-01-30 13:15 PST (History)
1 user (show)

See Also:


Attachments
using MacOs 10.4, Safari Version 3.2.1 (4525.27.1) (46.78 KB, image/png)
2009-01-30 12:49 PST, Edward Karavakis
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Edward Karavakis 2009-01-30 09:51:42 PST
The string I'm passing from python to the XSL is: usergridname=RenataFigueiredoRodrigues&timerange=last3Days&typeofrequest=Atasktype=

and if I print the string from XSL: <xsl:value-of select="plotParameters"/> 
the result is correct:
usergridname=RenataFigueiredoRodrigues&timerange=last3Days&typeofrequest=Atasktype=

But if you go to: http://dashb-cms-sam.cern.ch/dashboard/request.py/taskmonitoring#action=tasksTable&usergridname=JavierFernandezMenendez
you'll see that it is not working
The plot on the bottom of the page isn't rendered with Chrome & Safari. If you right click on the image and open it in a new window, the url is the following:
http://dashb-cms-sam.cern.ch/dashboard/request.py/graphicaltablerepresentation.png?usergridname=JavierFernandezMenendez&#38;timerange=last3Days&#38;typeofrequest=A&#38;tasktype=
but it should be:
http://dashb-cms-sam.cern.ch/dashboard/request.py/graphicaltablerepresentation.png?usergridname=JavierFernandezMenendez&timerange=last3Days&typeofrequest=A&tasktype=

I don't quite understand why Webkit (both on Safari and Chrome) is adding those weird ' #38; ' values to the url.... they look like 'new line' or 'break' characters. It works fine on all browsers except Safari/Chrome.
( a similar issue was reported on 2005:  https://bugs.webkit.org/show_bug.cgi?id=3861 )
Comment 1 Edward Karavakis 2009-01-30 10:21:03 PST
And this is how I src the image from the XSL:
        <xsl:variable name="plotParameters" select ="plotParameters"></xsl:variable>
        <img src="/dashboard/request.py/graphicaltablerepresentation.png?{$plotParameters}" ALT="Graphical Representation of the Table"></img>
Comment 2 Mark Rowe (bdash) 2009-01-30 12:23:49 PST
For me plot is rendered identically to Firefox when using a recent build of WebKit.  Have you tested your page with a nightly build?
Comment 3 Edward Karavakis 2009-01-30 12:38:37 PST
No, sorry I haven't got any mac/safari browser to test it. The problem was reported to me by several Mac/Safari users (and a couple of Win/Chrome users). Konqueror works fine though, isn't weird? I thought WebKit is actually KHTML...
Thank you!
Eddie
Comment 4 Mark Rowe (bdash) 2009-01-30 12:42:12 PST
WebKit is derived from KHTML, but they diverged many years ago so it's not at all surprising that they would behave differently.

Closing as WORKSFORME due to this ... working for me.  I suspect that this has been fixed since Safari 3.2 was released.  If you can reproduce the problem in a WebKit nightly build, please feel free to reopen the bug report.
Comment 5 Edward Karavakis 2009-01-30 12:46:21 PST
Hello Mark,
It doesn't work on: MacOS 10.4, Safari Version 3.2.1 (4525.27.1). I will attach a screenshot..
Comment 6 Edward Karavakis 2009-01-30 12:49:17 PST
Created attachment 27191 [details]
using MacOs 10.4, Safari Version 3.2.1 (4525.27.1)

MacOs 10.4, Safari Version 3.2.1 (4525.27.1)
Comment 7 Edward Karavakis 2009-01-30 13:15:29 PST
Works fine using the latest Webkit build. Thank you.