Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always use https for help files #1615

Merged
merged 2 commits into from
Jul 23, 2016
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Try to double click the `jar` file or execute the following command:

## Documentation

JabRef comes with an [online help](http://help.jabref.org/), accessed by pressing `F1` or clicking on a question mark icon.
JabRef comes with an [online help](https://help.jabref.org/), accessed by pressing `F1` or clicking on a question mark icon.
The help is are probably not exhaustive enough to satisfy everyone yet, but it should help sort out the most important issues about using the program.
If you choose languages other than English, some or all help pages may appear in your chosen languages.

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/sf/jabref/gui/help/HelpAction.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public void setHelpFile(HelpFile urlPart) {

@Override
public void actionPerformed(ActionEvent e) {
String url = "http://help.jabref.org/" + Globals.prefs.get(JabRefPreferences.LANGUAGE) + "/" + helpPage.getPageName();
String url = "https://help.jabref.org/" + Globals.prefs.get(JabRefPreferences.LANGUAGE) + "/" + helpPage.getPageName();
JabRefDesktop.openBrowserShowPopup(url);
}
}
2 changes: 1 addition & 1 deletion src/test/java/net/sf/jabref/logic/help/HelpFileTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import static junit.framework.TestCase.assertEquals;

public class HelpFileTest {
private final String jabrefHelp = "http://help.jabref.org/en/";
private final String jabrefHelp = "https://help.jabref.org/en/";
@Test
public void referToValidPage() throws IOException {
for (HelpFile help : HelpFile.values()) {
Expand Down