From 17286c3339e8c7bb9b60d59c06a24c0b10539184 Mon Sep 17 00:00:00 2001 From: Dan Palmer Date: Sun, 5 Nov 2023 16:15:07 +0000 Subject: [PATCH] Fix relative URLs --- src/htmx.js | 23 +++++++++--------- test/attributes/hx-boost.js | 1 - .../hxboost_relative_resources/index.html | 10 ++++++++ .../hxboost_relative_resources/nested/img.png | Bin 0 -> 15693 bytes .../nested/page2.html | 12 +++++++++ test/manual/index.html | 6 +++++ 6 files changed, 40 insertions(+), 12 deletions(-) create mode 100644 test/manual/hxboost_relative_resources/index.html create mode 100644 test/manual/hxboost_relative_resources/nested/img.png create mode 100644 test/manual/hxboost_relative_resources/nested/page2.html diff --git a/src/htmx.js b/src/htmx.js index 9a8f1098d..dd21063fd 100644 --- a/src/htmx.js +++ b/src/htmx.js @@ -3506,6 +3506,18 @@ return (function () { selectOverride = xhr.getResponseHeader("HX-Reselect"); } + // if we need to save history, do so, before swapping so that relative resources have the correct base URL + if (historyUpdate.type) { + triggerEvent(getDocument().body, 'htmx:beforeHistoryUpdate', mergeObjects({ history: historyUpdate }, responseInfo)); + if (historyUpdate.type === "push") { + pushUrlIntoHistory(historyUpdate.path); + triggerEvent(getDocument().body, 'htmx:pushedIntoHistory', {path: historyUpdate.path}); + } else { + replaceUrlInHistory(historyUpdate.path); + triggerEvent(getDocument().body, 'htmx:replacedInHistory', {path: historyUpdate.path}); + } + } + var settleInfo = makeSettleInfo(target); selectAndSwap(swapSpec.swapStyle, target, elt, serverResponse, settleInfo, selectOverride); @@ -3555,17 +3567,6 @@ return (function () { triggerEvent(elt, 'htmx:afterSettle', responseInfo); }); - // if we need to save history, do so - if (historyUpdate.type) { - triggerEvent(getDocument().body, 'htmx:beforeHistoryUpdate', mergeObjects({ history: historyUpdate }, responseInfo)); - if (historyUpdate.type === "push") { - pushUrlIntoHistory(historyUpdate.path); - triggerEvent(getDocument().body, 'htmx:pushedIntoHistory', {path: historyUpdate.path}); - } else { - replaceUrlInHistory(historyUpdate.path); - triggerEvent(getDocument().body, 'htmx:replacedInHistory', {path: historyUpdate.path}); - } - } if (responseInfo.pathInfo.anchor) { var anchorTarget = getDocument().getElementById(responseInfo.pathInfo.anchor); if(anchorTarget) { diff --git a/test/attributes/hx-boost.js b/test/attributes/hx-boost.js index 7866abecd..f8698a330 100644 --- a/test/attributes/hx-boost.js +++ b/test/attributes/hx-boost.js @@ -116,4 +116,3 @@ describe("hx-boost attribute", function() { }); }); - diff --git a/test/manual/hxboost_relative_resources/index.html b/test/manual/hxboost_relative_resources/index.html new file mode 100644 index 000000000..9bf741eb9 --- /dev/null +++ b/test/manual/hxboost_relative_resources/index.html @@ -0,0 +1,10 @@ + + + + + hx-boost - Relative Resources Page 1 + + +To Page 2 + + diff --git a/test/manual/hxboost_relative_resources/nested/img.png b/test/manual/hxboost_relative_resources/nested/img.png new file mode 100644 index 0000000000000000000000000000000000000000..533a968a56605433f6cc863dda9304d60bf81be7 GIT binary patch literal 15693 zcmW+-1z1yGA122JqehKxK|mTLg^dO&K@pIYlx|R((cLKx0wN`$fOK~#EuGTc@ZJA+ zpJ$iBb}#4r@_pZPZn%b;0zNJkE*csdzLKKsD>O88uK!+O4B#&p^ps4%4~V0pt_vC( zLDzpT^khx~YBV$kG$mPtwrAG9&nHJxg$&C#ZVh_KW|lZ&!Zp77W6ZVo8BpZ&RlBI| zp103>QI-}S79&k9X}u%%dt&a-?GH@1?BB0Rc%1%7b9~n|?Aak8|4jNBI%W?Xi=5wq zx~GS(C&;cx9>x%W1up&b_w}VhzH3=oV{$j}H?CoSaP@e%HTRwGUcu?O8~? zU*zPoN8~RX38|_Sy|R_LzV}6Ga3oK-eO_^X4IFOHqAi;I>1ID7HI~DzGm5RLu9hS6 zOUjfNwdJ=PE3B#JoBABCzDov}v_*zAPiu2@H-EhIZOv!zH%qww_O&d6XuwnS0e-5+ zNWcWQdXinSyH1?$fTEA#$I2O1FnYVp5+cjeRm<4=1O^$&yQ17i=@I<=$J*y?IfXIQ z_7VMol4KOpFr33ESS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0J9X-EG+1*T}dMF&fzoZ;5y~K zeA3DmZkI;{z2>IC?rb(~D|~%4HbBfoeo`=DuSYZqJ)}>3Z&@uj%=%1_AGnWV(W?fz z{NYef)3dB&A74Ij0=p%gC=R6?+Z-uyH#Qc|hkaw-W#{(0=REXW3ADs8j+uTRF+*k6 zBo357n4Fwyt2pIL zx6;Vzxh1VQoqi1*T35)XXkDZ3uVTl(HXs!}=~KYqQdBhjGGFb!Ouqdv zfxe1?QQtAJSzxpDsH*QhUz!{Eq-mYzzRy-b?9{xXusQ_=Ri|H1!`&QIh=G%KCBDm} z-}e$G;rXmi;3vLXn`rm>?L5lfvY#i+Q+}Ceei#z<_J%k)(}FhsQSC{Tlu}7wWnFuR zB2w6Zv}`qiO;;jTNd#lZ65PPl+nYJ-Urt1`pR|?bVgpR;k?bT4K}lBxhS&T$&GwDh z$z>&;EFesb3y2{9$1Y>f5*YUKC{82W91FYg3Amm?1$i^B$3*o?NNzM*dy0dg5r*6S ah*M9Q3t4*VbNU6=6y literal 0 HcmV?d00001 diff --git a/test/manual/hxboost_relative_resources/nested/page2.html b/test/manual/hxboost_relative_resources/nested/page2.html new file mode 100644 index 000000000..12cdd25d0 --- /dev/null +++ b/test/manual/hxboost_relative_resources/nested/page2.html @@ -0,0 +1,12 @@ + + + + + hx-boost - Relative Resources Page 2 + + +Back To Page 1 +

Image should be displayed below

+ + + diff --git a/test/manual/index.html b/test/manual/index.html index 1097e0fd6..99b25d653 100644 --- a/test/manual/index.html +++ b/test/manual/index.html @@ -37,6 +37,12 @@

Functionality

  • History Style
  • +
  • Boost Tests + +
  • Perf

  • Manual Perf Test