Skip to content

Comments

Correct line 278#2

Open
mgh128 wants to merge 1 commit intomasterfrom
fix_line_278
Open

Correct line 278#2
mgh128 wants to merge 1 commit intomasterfrom
fix_line_278

Conversation

@mgh128
Copy link

@mgh128 mgh128 commented Jun 5, 2023

Line 278 previously unhelpfully deleted the final character from the user-defined resolver string without even checking whether it was a trailing forward-slash or not - resulting in https://id.gs1.ch being idiotically truncated to https://id/gs1.c

The replacement line 278 now only removes a single forward-clash character if it appears at the end of the user-defined resolver URL stem. Otherwise no change is made.

Line 278 previously unhelpfully deleted the final character from the user-defined resolver string without even checking whether it was a trailing forward-slash or not - resulting in https://id.gs1.ch being idiotically truncated to https://id/gs1.c

The replacement line 278 now only removes a single forward-clash character if it appears at the end of the user-defined resolver URL stem.  Otherwise no change is made.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant