| Summary: | Google finance recent quotes doesn't work | ||
|---|---|---|---|
| Product: | [Applications] konqueror | Reporter: | Andres Garcia <fandom> |
| Component: | general | Assignee: | Konqueror Bugs <konqueror-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | maksim |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Andres Garcia
2008-10-08 01:16:55 UTC
The fix would be:
--- ecma/kjs_window.cpp (revision 868136)
+++ ecma/kjs_window.cpp (working copy)
@@ -2553,7 +2556,7 @@
return jsString("");
return jsString( UString(url.path().isEmpty() ? QString("/") : url.path()) );
case Port:
- return jsString( UString(url.port() ? QString::number((int)url.port()) : QLatin1String("")) );
+ return jsString( UString(url.port() > 0 ? QString::number((int)url.port()) : QLatin1String("")) );
case Protocol:
return jsString( UString(url.protocol()+':') );
case Search:
... Two changes due to KUrl behavior changes in about a week? Odd how that works sometimes.
SVN commit 875314 by orlovich: Don't return -1 for location.port when no port is set (regression due to change in KUrl semantics). Fixes recent quotes on google finance page. BUG:172371 M +1 -1 kjs_window.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=875314 SVN commit 875315 by orlovich: automatically merged revision 875314: Don't return -1 for location.port when no port is set (regression due to change in KUrl semantics). Fixes recent quotes on google finance page. BUG:172371 M +1 -1 kjs_window.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=875315 |