Closed arifaydogmus closed 7 months ago
in current beta (master_dev branch), the code is
void GUI_App::open_web_page_localized(const std::string &http_address)
{
wxString lng_param = wxString("lng=") + this->current_language_code_safe();
// Check if http_address already contains a query parameter
size_t query_pos = http_address.find('?');
open_browser_with_warning_dialog(wxString(http_address) + wxString(query_pos == std::string::npos ? "?" : "&") + lng_param,
nullptr, false);
}
Ohh nice then no need this PR. :) Thanks 🙏
Missed question mark is causing to redirect user to 404 GH page.