diff --git a/src/SFML/Network/Http.cpp b/src/SFML/Network/Http.cpp index 37896791..cdccbda2 100644 --- a/src/SFML/Network/Http.cpp +++ b/src/SFML/Network/Http.cpp @@ -79,7 +79,7 @@ void Http::Request::setUri(const std::string& uri) // Make sure it starts with a '/' if (m_uri.empty() || (m_uri[0] != '/')) - m_uri.insert(0, "/"); + m_uri.insert(m_uri.begin(), '/'); }