Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,14 @@ public String getPath() {
* @param path
* the path to link to, or {@code null} to remove the path and
* render the item as the current page (a non-link)
* @throws IllegalArgumentException
* if {@code path} uses a scheme that is not considered safe;
* see {@link #setUnsafePath(String)} and the
* {@value InitParameters#URL_SAFE_SCHEMES} configuration
* property
*
* @see #setPath(Class)
* @see #setUnsafePath(String)
*/
public void setPath(String path) {
if (path != null && !UrlUtil.isSafeUrl(path)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ public String getHref() {
* The URL for the credits label.
* <p>
* Defaults to: http://www.highcharts.com
*
* @throws IllegalArgumentException
* if {@code href} uses a scheme that is not considered safe;
* see {@link #setUnsafeHref(String)} and the
* {@value InitParameters#URL_SAFE_SCHEMES} configuration
* property
* @see #setUnsafeHref(String)
*/
public void setHref(String href) {
if (href != null && !UrlUtil.isSafeUrl(href)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,14 @@ private void removeLabelElement() {
* @param path
* The path to link to. Set to null to disable navigation for
* this item.
* @throws IllegalArgumentException
* if {@code path} uses a scheme that is not considered safe;
* see {@link #setUnsafePath(String)} and the
* {@value InitParameters#URL_SAFE_SCHEMES} configuration
* property
*
* @see SideNavItem#setPath(Class)
* @see #setUnsafePath(String)
*/
public void setPath(String path) {
if (path != null && !UrlUtil.isSafeUrl(path)) {
Expand Down
Loading