disable_file_url.diff
| b/code/ryzom/client/src/interface_v3/group_html.cpp | ||
|---|---|---|
| 2625 | 2625 |
_URL = home(); |
| 2626 | 2626 |
|
| 2627 | 2627 |
string finalUrl; |
| 2628 |
lookupLocalFile (finalUrl, _URL.c_str(), true); |
|
| 2628 |
bool isLocal = lookupLocalFile (finalUrl, _URL.c_str(), true);
|
|
| 2629 | 2629 |
|
| 2630 | 2630 |
// Reset the title |
| 2631 | 2631 |
if(_TitlePrefix.empty()) |
| ... | ... | |
| 2664 | 2664 |
C3WSmartPtr uri = HTParse(finalUrl.c_str(), NULL, PARSE_ALL); |
| 2665 | 2665 |
|
| 2666 | 2666 |
// Create an anchor |
| 2667 |
if ((_LibWWW->Anchor = HTAnchor_findAddress(uri)) == NULL) |
|
| 2667 |
// temporarily disable local URL's until LibWWW can be replaced. |
|
| 2668 |
if (!isLocal && ((_LibWWW->Anchor = HTAnchor_findAddress(uri)) == NULL)) |
|
| 2668 | 2669 |
{
|
| 2669 | 2670 |
browseError((string("The page address is malformed : ")+(const char*)uri).c_str());
|
| 2670 | 2671 |
} |