Re: Mac OS X AppleScript Bug?
Re: Mac OS X AppleScript Bug?
- Subject: Re: Mac OS X AppleScript Bug?
- From: Chris Espinosa <email@hidden>
- Date: Wed, 13 Mar 2002 15:28:26 -0800
Reported in RADAR 2783916 and fixed in Jaguar 6B11 and later. It was a
problem in HLTB over-aggressively encoding the URL.
Chris
On Wednesday, March 13, 2002, at 03:03 PM, Wayne Brissette wrote:
>
Chris Espinosa email@hidden on 13 March 2002 said:
>
>
> On Wednesday, March 13, 2002, at 01:25 PM, Wayne Brissette wrote:
>
>
>
>> Here is an odd one. If you take a URL with an anchor (#) and pass it
>
>> off
>
>> to a i.e. via AppleScript in Mac OS 9. The document opens and goes to
>
>> the
>
>> expected location. However, when the same AppleScript is used in Mac
>
>> OS X
>
>> (10.1.3) the pound is converted to # and thus the script fails.
>
>>
>
>> Is this a problem in AppleScript for Mac OS X or Mac OS X itself?
>
>
>
> It depends on how you are specifying the URL and sending it to IE. Can
>
> you post the code that does this? Two things seem possible: one is
>
> that IE on X is ncoding the incoming URL, and the other is that the
>
> entity that parses and redirects the 'open location' command (in 9 it
>
> was InternetConfig, in X HIToolbox owns it) is improperly encoding
>
> the #.
>
>
>
> Chris
>
>
>
>
Interesting...
>
>
If you use
>
>
tell application "Internet Explorer"
>
OpenURL "http://www.macintouch.com/spambounce.html#mar11"
>
end tell
>
>
it works. However:
>
>
using
>
>
open location "http://www.macintouch.com/spambounce.html#mar11"
>
>
fails because the # is turned into # ... But again, this is only in
>
Mac
>
OS X, under Mac OS 9 it works fine.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.