Technology Questions

Go Back   Technology Questions > Software Questions > Internet > Internet Explorer

Internet Explorer Discuss IE7 or any other IE version.

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 05-06-2007, 10:42 AM
Malcolm Ferguson
Newsgroup Contributor
 
Posts: n/a
Embedded IE7 browser object - breakage over previous versions dueto URL escaping in BeforeNavigate event

We have an MFC app that embeds the WebBrowser ActiveX control. We use
custom URLs to send commands to the C++/MFC implementation class of the
browser control, which we handle in a method for the BeforeNavigate2
event, and Cancel the navigation.

The problem is that starting with IE7, URLs are being URL Escaped before
the call to the event handler. In particular, the '{' and '}'
characters are being changed to '%7B' and '%7D'. This didn't happen
with IE5 through 6. This is breaking our applications in the field.

Obviously the C++ code can be modified to handle this, but it leaves two
problems:
1) Existing user installations continue to fail.
2) Will the behaviour change in the future, and thus break the work-around?

Is there anything I can do? I can modify the code to unescape the URL,
but that's a bit of a headache as it could affect every URL, or I need
to do it on a case-by-case basis and hope I or QA catches all of the
situations.

Is this a bug in IE7?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 05-06-2007, 10:42 AM
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Embedded IE7 browser object - breakage over previous versions duescript exception being thrown closing previously closed windows Malcolm Ferguson Internet Explorer 0 05-06-2007 10:42 AM
Previous Versions Granularity PLBackup Windows Vista 2 04-13-2007 09:45 AM
Previous Versions Shawn Keene Windows Vista 1 03-31-2007 06:45 AM
Previous versions not working any more Brian W Windows Vista 0 02-14-2007 01:15 PM
Previous Versions not working any more Brian W Windows Vista 0 02-14-2007 01:03 PM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 05:42 AM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0