Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
67f6e24b
Commit
67f6e24b
authored
Dec 15, 2003
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not add http:// to MRL if the URI given in the HTTP field already contains it (Fixes bug #1510)
parent
26bb0adf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
modules/gui/wxwindows/open.cpp
modules/gui/wxwindows/open.cpp
+6
-3
No files found.
modules/gui/wxwindows/open.cpp
View file @
67f6e24b
...
...
@@ -2,7 +2,7 @@
* open.cpp : wxWindows plugin for vlc
*****************************************************************************
* Copyright (C) 2000, 2001, 2003 VideoLAN
* $Id: open.cpp,v 1.5
3 2003/12/13 20:13:07 rocky
Exp $
* $Id: open.cpp,v 1.5
4 2003/12/15 13:10:05 zorglub
Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -783,8 +783,11 @@ void OpenDialog::UpdateMRL( int i_access_method )
case
2
:
/* http access */
mrltemp
=
wxT
(
"http"
)
+
demux
+
wxT
(
"://"
)
+
net_addrs
[
2
]
->
GetLineText
(
0
);
if
(
net_addrs
[
2
]
->
GetLineText
(
0
).
Find
(
"http://"
)
)
{
mrltemp
=
wxT
(
"http"
)
+
demux
+
wxT
(
"://"
);
}
mrltemp
=
mrltemp
+
net_addrs
[
2
]
->
GetLineText
(
0
);
break
;
}
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment