<table><tr><td style="">sitter created this revision.<br />sitter added a reviewer: dfaure.<br />Herald added projects: Dolphin, Frameworks.<br />Herald added subscribers: kfm-devel, kde-frameworks-devel.<br />sitter requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D27291">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>the latter while not IANA registered is apparently used in places. to<br />
cheaply support it we now configure the protocol file for both protocol<br />
'smb' and 'cifs' and installing two protocol files. they are still both<br />
backed by the same plugin and otherwise the same.<br />
code-wise this also required adjustments to the URL validation tech as<br />
it has hardcoded checks for smb schemes.</p>
<p>FIXED-IN: 19.12.3<br />
BUG: 327295</p></div></div><br /><div><strong>TEST PLAN</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">cifs://host/share</li>
<li class="remarkup-list-item">cifs://host</li>
<li class="remarkup-list-item">cifs://</li>
</ul>
<p>all open correctly. they do get translated to smb because of the checkUrl code.</p>
<p>checkUrl seems entirely pointless, SMBUrl does a bit of validation/fixing as part of<br />
updateCache. It occurs to me checkUrl should simply be incorporated into SMBUrl<br />
and we should construct an SMBUrl where we previously called checkUrl. before doing<br />
anything of value we construct SMBUrls anyway, so the isolated logic does absolutely<br />
nothing SMBUrl couldn't do just as well. also needs a unit test -.- ... too much <br />
refactoring for a bugfix though</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R320 KIO Extras</div></div></div><br /><div><strong>BRANCH</strong><div><div>bug327295</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D27291">https://phabricator.kde.org/D27291</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>smb/CMakeLists.txt<br />
smb/kio_smb_browse.cpp<br />
smb/kio_smb_internal.cpp<br />
smb/smb.protocol<br />
smb/smb.protocol.cmake</div></div></div><br /><div><strong>To: </strong>sitter, dfaure<br /><strong>Cc: </strong>kde-frameworks-devel, kfm-devel, pberestov, iasensio, fprice, LeGast00n, cblack, MrPepe, fbampaloukas, alexde, GB_2, Codezela, feverfew, meven, michaelh, spoorun, navarromorales, firef, ngraham, andrebarros, bruns, emmanuelp, mikesomov<br /></div>