Skip to content

Commit

Permalink
538073: ExecutionException in
Browse files Browse the repository at this point in the history
AbstractMarketplaceWizardCommand.createConfiguration

Be stricter about accepted favorite urls, so we don't accidentally
recognize other d&d resources

Change-Id: I03a29b02dd1a53e059d2964ac01cbdf94de265c4
Signed-off-by: Leif Geiger <geiger@yatta.de>
  • Loading branch information
Leif Geiger committed Feb 25, 2019
1 parent 1dd166f commit 6b8b802
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -126,7 +126,7 @@ public class UserFavoritesService extends AbstractDataStorageService implements
.compile(String.format(JSON_ATTRIBUTE_REGEX, "html_profile_url"), Pattern.MULTILINE); //$NON-NLS-1$

public static final Pattern FAVORITES_URL_PATTERN = Pattern
.compile("(?:^|/)user/([^/#?]+)(/favorites)?([/#?].*)?$"); //$NON-NLS-1$
.compile("(?:^|^https?:.*/)user/([^/#?]+)(/favorites)?([/#?].*)?$"); //$NON-NLS-1$

private static final String KEY = "mpc_favorites"; //$NON-NLS-1$

Expand Down

0 comments on commit 6b8b802

Please sign in to comment.