NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: bwhisler on April 14, 2010, 11:28:14 PM
-
NT 4.47, Clarion 6.3 ABC
I'm having a problem with an image on a NetWebPage when the file name contains a "#". In this case, the image just does not display however it I can the file name to not have the "#" it works fine. Note that in my test case it is " #' (space before pound symbol) and not "&#" which I know if issue in HTML.
Any suggestions on how to work around this?
-
um, well the most obvious _work around_ is to not name files with a # in the name.
as far as a fix goes, I'll have a look to see what can be done.
Bruce
-
I would love to do the obvious workaround of not using the "#" in the name but unfortunately the images are coming from a folder where the customer can copy in whatever they want.
So with that, I will be awaiting to see what you can find.
Thanks!
-
Update to this topic. The same problem will exist if the following are in the file name or path information. Also same with passed information on the URL:
Problem Characters: # ' ;
Researching the NetWeb.clw code, the older "_Clean" routine handled these characters however that routine has been changed to just call "_jsok" which does not.
I REALLY need a solution to this issue because I am having to work will file names that are outside of my control.
-
Hi Barton,
I've fixed this in NetTalk 5, PR13 and NetTalk 4, 4.48 builds.
They're both in the process of being uploaded, which may take a bit of time yet, so you should be able to try it from some time tomorrow.
cheers
Bruce
-
Outstanding - Thanks!
-
Bruce,
Please see private email sent to you in regards to new release. A new bug was introduced.
-
Hi Guys,
yes there is a small regression in 4.48 and PR13. 4.49 is being uploaded, PR14 should be up late today or tomorrow.
the fix is straight-forward and can be applied by yourselves if necessary:
NetTalk 4.48
\clarion\libsrc\netweb.clw
line circa 2879 is
loc:src = self._MakeURL(self.escape(p_src,net:dos))
and should be
loc:src = self._MakeURL(self.escape(p_src,net:bigplus+net:dos))
NetTalk 5, PR13
change is the same at line circa 3123
Cheers
Bruce
cheers
Bruce