Repository navigation
GH Issue 1813: Clarify context path handling in base server URL methods - #8341
Merged
Merged
Conversation
…Path Also build full URLs with getURIString() instead of concatenating getBaseServerURI(), and make URLHelper.isSameOrigin() public.
This was referenced Nov 13, 2026
Merged
GH Issue 1813: Update base server URL caller and fix the SLA review link
LabKey/onprcEHRModules#2000
Merged
Also make URLHelper.isSameOrigin() private again now that TargetedMS no longer uses it.
…oad into its caller
…context The fabricated context's ActionURL only fed a container lookup that AppTemplate discards.
HTML-escape the link in notification emails and show the participant group link exactly as it is sent.
labkey-adam
added a commit
to LabKey/targetedms
that referenced
this pull request
Nov 14, 2026
## Rationale This PR removes `IsLibraryCurrentAction`, which nothing in the codebase calls. Its Panorama server check compared only query parameters and so never rejected anything; it surfaced while auditing base server URL callers for [GH Issue 1813](LabKey/internal-issues#1813). ## Related Pull Requests - LabKey/platform#8341 - LabKey/premiumModules#865 - LabKey/wnprc-modules#1085 - LabKey/MacCossLabModules#691 - LabKey/onprcEHRModules#2000 ## Changes - Remove the unused chromatogram library "is current" API action and the helper only it used
labkey-tchad
approved these changes
Nov 16, 2026
labkey-adam
added a commit
to LabKey/wnprc-modules
that referenced
this pull request
Nov 16, 2026
…nks (#1085) ## Rationale This PR updates callers for the platform rename of `ActionURL.getBaseServerURL()` to `getBaseServerURLWithContextPath()` and fixes malformed links in notification emails. [GH Issue 1813](LabKey/internal-issues#1813) ## Related Pull Requests - LabKey/platform#8341 - LabKey/premiumModules#865 - LabKey/MacCossLabModules#691 - LabKey/onprcEHRModules#2000 - LabKey/targetedms#1306 ## Changes - Update callers to the new method name - Build notification links with `ActionURL` through shared helpers, which removes doubled slashes and encodes parameters, including animal Ids in animal history links - HTML-escape link URLs in notification emails - Fix a stray quote that broke the "all animal requests" link
labkey-adam
added a commit
to LabKey/onprcEHRModules
that referenced
this pull request
Nov 16, 2026
…ink (#2000) ## Rationale This PR updates the SLA module for the platform rename of `ActionURL.getBaseServerURL()` to `getBaseServerURLWithContextPath()` and fixes the purchase order review link in SLA notification emails, which was assembled by hand without encoding the container path. [GH Issue 1813](LabKey/internal-issues#1813) ## Related Pull Requests - LabKey/platform#8341 - LabKey/premiumModules#865 - LabKey/wnprc-modules#1085 - LabKey/MacCossLabModules#691 - LabKey/targetedms#1306 ## Changes - Build the purchase order review link in notification emails from the action URL instead of concatenating pieces
labkey-adam
added a commit
to LabKey/MacCossLabModules
that referenced
this pull request
Nov 16, 2026
…Path (#691) ## Rationale This PR updates callers for the platform rename of `ActionURL.getBaseServerURL()` to `getBaseServerURLWithContextPath()`. [GH Issue 1813](LabKey/internal-issues#1813) ## Related Pull Requests - LabKey/platform#8341 - LabKey/premiumModules#865 - LabKey/wnprc-modules#1085 - LabKey/onprcEHRModules#2000 - LabKey/targetedms#1306 ## Changes - Update callers to the new method name
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rationale
This PR makes it clear which base server URL methods include the context path and fixes callers that built full URLs by hand.
ActionURL.getBaseServerURL()included the context path whileAppProps.getBaseServerUrl()did not, so it's renamed togetBaseServerURLWithContextPath(). GH Issue 1813Related Pull Requests
Changes
ActionURLbase server URL method so its name says it includes the context pathURLHelper's base server URI omits the context path