mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 05:37:29 +02:00
Unbreak share links. Jefferai should review this.
This commit is contained in:
@@ -952,10 +952,10 @@ percentEncode( const QUrl& url )
|
|||||||
|
|
||||||
// QUrl doesn't encode ', which it doesn't have to. Some apps don't like ' though, and want %27. Both are valid. It also doesn't encode : or ; which it should, so be safer here in general.
|
// QUrl doesn't encode ', which it doesn't have to. Some apps don't like ' though, and want %27. Both are valid. It also doesn't encode : or ; which it should, so be safer here in general.
|
||||||
data.replace( "'", "%27" );
|
data.replace( "'", "%27" );
|
||||||
data.replace( ".", "%2E" );
|
// data.replace( ".", "%2E" );
|
||||||
data.replace( "*", "%2A" );
|
// data.replace( "*", "%2A" );
|
||||||
data.replace( ":", "%3A" );
|
// data.replace( ":", "%3A" );
|
||||||
data.replace( ";", "%3B" );
|
// data.replace( ";", "%3B" );
|
||||||
|
|
||||||
data.replace( "%20", "+" );
|
data.replace( "%20", "+" );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user