{"id":3872,"date":"2016-05-01T22:20:38","date_gmt":"2016-05-01T14:20:38","guid":{"rendered":"http:\/\/blog.qdac.cc\/?p=3872"},"modified":"2016-05-01T22:20:38","modified_gmt":"2016-05-01T14:20:38","slug":"qstring-%e6%96%b0%e5%a2%9e-urlmerge-%e5%87%bd%e6%95%b0%e8%af%b4%e6%98%8e","status":"publish","type":"post","link":"https:\/\/blog.qdac.cc\/?p=3872","title":{"rendered":"[QString] \u65b0\u589e UrlMerge \u51fd\u6570\u8bf4\u660e"},"content":{"rendered":"<p>QString \u65b0\u589e\u4e86\u4e00\u4e2a UrlMerge \u51fd\u6570\u7528\u6765\u66ff\u4ee3Delphi\u81ea\u8eab System.Net.UrlClient \u5355\u5143\u63d0\u4f9b\u7684 TURI.PathRelativeToAbs \u51fd\u6570\u3002\u4e3a\u5565\u8981\u66ff\u6362\u5b83\uff1f\u7406\u7531\u53ea\u6709\u4e00\u4e2a\uff1a\u5b83\u7684\u89e3\u6790\u652f\u6301\u6709\u70b9\u5c0f\u95ee\u9898\uff0c\u6240\u4ee5\u81ea\u5df1\u91cd\u5199\u4e00\u4e2a\u3002<\/p>\n<p>URL \u76f8\u5bf9\u8def\u5f84\u8f6c\u6362\u4e3a\u7edd\u5bf9\u8def\u5f84\u6709\u51e0\u79cd\u60c5\u51b5\uff1a<\/p>\n<ul>\n<li>\u76f8\u5bf9\u8def\u5f84\u5b9e\u9645\u4e0a\u662f\u4e00\u4e2a\u5e26\u6709\u534f\u8bae\u7684\u7edd\u5bf9\u8def\u5f84\uff0c\u5982\u201chttps:\/\/blog.qdac.cc\/?p=3872\u201d \uff0c\u8fd9\u79cd\u60c5\u51b5\u4e0b\u4e24\u8005\u90fd\u6ca1\u6709\u95ee\u9898\uff1b<\/li>\n<li>\u76f8\u5bf9\u8def\u5f84\u662f\u4f7f\u7528\u5f53\u524d\u534f\u8bae\u7684\u7edd\u5bf9\u8def\u5f84\uff0c\u5982\u201c\/\/?p=3872\u201d\uff0c\u8fd9\u79cd\u60c5\u51b5\u4e0b TURI \u7684\u7ed3\u679c\u662f\u9519\u7684\uff1b<\/li>\n<li>\u76f8\u5bf9\u8def\u5f84\u662f\u7edd\u5bf9\u8def\u5f84\uff0c\u5982\u201c\/?p=3872\u201d\uff0c\u8fd9\u79cd\u60c5\u51b5\u4e24\u8005\u90fd\u6ca1\u6709\u95ee\u9898\uff1b<\/li>\n<li>\u76f8\u5bf9\u8def\u5f84\u771f\u7684\u662f\u76f8\u5bf9\u8def\u5f84\uff0c\u5982\u201c?p=3872\u201d\uff0c\u8fd9\u79cd\u60c5\u51b5\u4e24\u8005\u90fd\u6ca1\u6709\u95ee\u9898\u3002<\/li>\n<\/ul>\n<p>\u4e5f\u5c31\u662f\u8bf4\uff0c\u4e0a\u9762\u7684\u56db\u79cd\u60c5\u51b5\u5b9e\u9645\u4e0a\u53ea\u6709\u7b2c\u4e8c\u79cd\u60c5\u51b5\u7cfb\u7edf\u7684\u662f\u9519\u7684\uff0c\u6240\u4ee5 QString \u63d0\u4f9b\u4e86\u4e00\u4e2a\u6539\u8fdb\u7248\u7684\u51fd\u6570\uff0c\u6b22\u8fce\u5927\u5bb6\u6d4b\u8bd5\u3002<\/p>\n<p>UrlMerge \u51fd\u6570\u53ea\u6709\u4e24\u4e2a\u53c2\u6570\uff0c\u7b2c\u4e00\u4e2a\u662f\u539f\u59cb\u7684\u57fa\u51c6URL\uff0c\u7b2c\u4e8c\u4e2a\u662f\u76f8\u5bf9\u8def\u5f84\u3002\u4f7f\u7528\u65f6\u5f88\u7b80\u5355\uff0c\u76f4\u63a5\u4f20\u5165\u5c31\u597d\u4e86\uff0c\u5c31\u4e0d\u518d\u4e3e\u4f8b\u5b50\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>QString \u65b0\u589e\u4e86\u4e00\u4e2a UrlMer [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[145,69,8,9,2],"tags":[425,262,615,47],"class_list":["post-3872","post","type-post","status-publish","format-standard","hentry","category-android","category-c-builder","category-delphi","category-qdac","category-update","tag-url","tag-262","tag-615","tag-47"],"views":9088,"_links":{"self":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/3872","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3872"}],"version-history":[{"count":1,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/3872\/revisions"}],"predecessor-version":[{"id":3873,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/3872\/revisions\/3873"}],"wp:attachment":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3872"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3872"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}