<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>150973</bug_id>
          
          <creation_ts>2007-10-18 14:24:56 +0000</creation_ts>
          <short_desc>kurl prettyUrl corrupts original url</short_desc>
          <delta_ts>2010-02-24 10:58:24 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kio</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Wieger Hofstra">kde</reporter>
          <assigned_to name="Dirk Mueller">mueller</assigned_to>
          <cc>bluedzins</cc>
    
    <cc>carsten</cc>
    
    <cc>dorian.nagel</cc>
    
    <cc>ewal</cc>
    
    <cc>faure</cc>
    
    <cc>jumper99</cc>
    
    <cc>max</cc>
    
    <cc>mueller</cc>
    
    <cc>nesnera</cc>
    
    <cc>ovit.debian</cc>
    
    <cc>ross</cc>
    
    <cc>spam</cc>
    
    <cc>spamdummy</cc>
    
    <cc>txwikinger</cc>
    
    <cc>webspam.michfu</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>71</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>550506</commentid>
    <comment_count>0</comment_count>
    <who name="Wieger Hofstra">kde</who>
    <bug_when>2007-10-18 14:24:56 +0000</bug_when>
    <thetext>Version:            (using KDE KDE 3.5.8)
Installed from:    Ubuntu Packages
OS:                Linux

A comment in the function KUrl::prettyUrl

 // a &quot;pretty&quot; URL is NOT suitable for data transfer. It&apos;s only for showing data to the user.
 // however, it must be parseable back to its original state

a few lines below this comment is the following code:

if (!hasPass())
   tmp = KStringHandler::csqueeze(tmp, 16);  

This will not make it back parseable and disables a lot of apps using this method, like krdc

When you use Alt + F2 and insert: vnc://bladieblablabladieblabla@localhost krdc tries to open: vnc://bladie...blabla@localhost</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>550740</commentid>
    <comment_count>1</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2007-10-19 16:34:14 +0000</bug_when>
    <thetext>Yeah I am very surprised by this security &quot;fix&quot; which corrupts urls... Dirk?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>550902</commentid>
    <comment_count>2</comment_count>
    <who name="Maksim Orlovich">maksim</who>
    <bug_when>2007-10-20 00:12:11 +0000</bug_when>
    <thetext>*** Bug 151070 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>550979</commentid>
    <comment_count>3</comment_count>
    <who name="Sönke Greimann">spamdummy</who>
    <bug_when>2007-10-20 12:21:47 +0000</bug_when>
    <thetext>Is it possible to disable this by some setting? It&apos;s really annoying and I don&apos;t want to install yet another program just for ftp.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>551093</commentid>
    <comment_count>4</comment_count>
    <who name="Marnix Kok">marnixkok</who>
    <bug_when>2007-10-21 00:40:59 +0000</bug_when>
    <thetext>*** This bug has been confirmed by popular vote. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>551536</commentid>
    <comment_count>5</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2007-10-23 10:36:19 +0000</bug_when>
    <thetext>Dirk: I think this patch needs to be reverted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>551560</commentid>
    <comment_count>6</comment_count>
    <who name="Joonas Koivunen">joonas.koivunen</who>
    <bug_when>2007-10-23 12:30:17 +0000</bug_when>
    <thetext>I think it might be a good idea to truncate the username or whole url like:
old-url = &quot;http://longusername@longerwebaddress.server.co.uk.euro.blaa/longer/path/to/current/file/?useragent=blaa

truncated-url = &quot;http://longusername@...server.co.uk.euro/....../file/?useragent=blaa

But only in for example konquerors location bar, not the real url string.. And only if the user wants truncation of long urls. Either way this feature might open up phishing possibilities.

Another note, I think that the severity of this bug should be highest, as it degrades usage of for example konqueror very much and this feature exists in the kde 3.5.8.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>552237</commentid>
    <comment_count>7</comment_count>
    <who name="Maksim Orlovich">maksim</who>
    <bug_when>2007-10-29 18:53:58 +0000</bug_when>
    <thetext>*** Bug 151375 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>553024</commentid>
    <comment_count>8</comment_count>
    <who name="Pino Toscano">pino</who>
    <bug_when>2007-11-02 00:18:52 +0000</bug_when>
    <thetext>*** Bug 151724 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>553081</commentid>
    <comment_count>9</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2007-11-02 12:24:03 +0000</bug_when>
    <thetext>SVN commit 731945 by dfaure:

You cannot messup prettyURL in ways that break its definition. Its definition is KURL(u.prettyURL()) == u.
The security issue has to be fixed in a better way.
BUG: 150973
CCMAIL: mueller@kde.org


 M  +1 -8      kurl.cpp  
 M  +15 -1     tests/kurltest.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=731945
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>553541</commentid>
    <comment_count>10</comment_count>
    <who name="Tommi Tervo">tommi.tervo</who>
    <bug_when>2007-11-04 21:50:42 +0000</bug_when>
    <thetext>*** Bug 151833 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>559179</commentid>
    <comment_count>11</comment_count>
    <who name="Pino Toscano">pino</who>
    <bug_when>2007-11-30 16:39:48 +0000</bug_when>
    <thetext>*** Bug 153180 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>559240</commentid>
    <comment_count>12</comment_count>
    <who name="Tommi Tervo">tommi.tervo</who>
    <bug_when>2007-11-30 21:17:49 +0000</bug_when>
    <thetext>*** Bug 153190 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>559553</commentid>
    <comment_count>13</comment_count>
    <who name="Pino Toscano">pino</who>
    <bug_when>2007-12-02 12:33:55 +0000</bug_when>
    <thetext>*** Bug 153273 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>566844</commentid>
    <comment_count>14</comment_count>
    <who name="Maksim Orlovich">maksim</who>
    <bug_when>2007-12-29 06:54:44 +0000</bug_when>
    <thetext>*** Bug 154781 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>571705</commentid>
    <comment_count>15</comment_count>
    <who name="Pino Toscano">pino</who>
    <bug_when>2008-01-15 18:28:48 +0000</bug_when>
    <thetext>*** Bug 155844 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>572681</commentid>
    <comment_count>16</comment_count>
    <who name="Tommi Tervo">tommi.tervo</who>
    <bug_when>2008-01-18 11:27:45 +0000</bug_when>
    <thetext>*** Bug 156083 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>582255</commentid>
    <comment_count>17</comment_count>
    <who name="Tommi Tervo">tommi.tervo</who>
    <bug_when>2008-02-23 16:51:58 +0000</bug_when>
    <thetext>*** Bug 158276 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>589538</commentid>
    <comment_count>18</comment_count>
    <who name="Pino Toscano">pino</who>
    <bug_when>2008-03-26 17:55:39 +0000</bug_when>
    <thetext>*** Bug 159905 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>590959</commentid>
    <comment_count>19</comment_count>
    <who name="Stefan Frings">stefan</who>
    <bug_when>2008-04-01 17:26:18 +0000</bug_when>
    <thetext>I like to report that I encountered the same problem with long username when opening an FTP connection. STeps to reproduce: In the &quot;Network&quot; folder of Konqueror klick on the Icon &quot;Add new network connection&quot;. Enter en FTP url. Enter a long username with a dash, for example &quot;balblubb12-anywhere&quot;. Store the connection. Then a double klick on the new connection Icon fails.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>591171</commentid>
    <comment_count>20</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2008-04-02 13:38:03 +0000</bug_when>
    <thetext>&quot;Me too&quot; on an already fixed bug is really not useful. Just update to a newer KDE version.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>607359</commentid>
    <comment_count>21</comment_count>
    <who name="Maksim Orlovich">maksim</who>
    <bug_when>2008-06-04 23:19:25 +0000</bug_when>
    <thetext>*** Bug 161240 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>923371</commentid>
    <comment_count>22</comment_count>
    <who name="George Kiagiadakis">mail</who>
    <bug_when>2010-02-24 10:58:24 +0000</bug_when>
    <thetext>*** Bug 158285 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>