Skip to content

Commit 36db119

Browse files
committed
prepare 2.49.1 hotfix
1 parent 6affe77 commit 36db119

File tree

5 files changed

+17
-10
lines changed

5 files changed

+17
-10
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# HtmlUnit
22

3-
Version 2.49.0 / April 11, 2021
3+
Version 2.49.1 / April 11, 2021
44

55
:heart: [Sponsor](https://github.com/sponsors/rbri)
66

@@ -25,7 +25,7 @@ For maven, you would add:
2525
<dependency>
2626
<groupId>net.sourceforge.htmlunit</groupId>
2727
<artifactId>htmlunit</artifactId>
28-
<version>2.49.0</version>
28+
<version>2.49.1</version>
2929
</dependency>
3030

3131
Overview
@@ -91,7 +91,7 @@ License
9191
This project is licensed under the Apache 2.0 License
9292

9393

94-
[1]: https://sourceforge.net/projects/htmlunit/files/htmlunit/2.49.0/ "HtmlUnit on sourceforge"
94+
[1]: https://sourceforge.net/projects/htmlunit/files/htmlunit/2.49.1/ "HtmlUnit on sourceforge"
9595
[2]: https://jenkins.wetator.org/job/HtmlUnit%20-%20Headless/ "HtmlUnit CI"
9696
[3]: https://twitter.com/HtmlUnit "https://twitter.com/HtmlUnit"
9797
[4]: https://htmlunit.sourceforge.io/ "https://htmlunit.sourceforge.io/"

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>net.sourceforge.htmlunit</groupId>
66
<artifactId>htmlunit</artifactId>
7-
<version>2.50.0-SNAPSHOT</version>
7+
<version>2.49.1</version>
88
<name>HtmlUnit</name>
99
<organization>
1010
<name>Gargoyle Software Inc.</name>

src/changes/changes.xml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,18 @@
77
</properties>
88

99
<body>
10+
<release version="2.49.1" date="April 11, 2021" description="Hotfix">
11+
<action type="fix" dev="rbri">
12+
Clicking an anchor was always calling the attachment handler (if set). This was a regression from anchor
13+
download attribute support.
14+
</action>
15+
</release>
16+
1017
<release version="2.49.0" date="April 11, 2021" description="Bugfixes, Firefox 87">
11-
<action type="fix">
18+
<action type="fix" dev="rbri">
1219
Fix :required and :optional pseudo classes to work with all html elements supporting the 'required' attribute.
1320
</action>
14-
<action type="fix">
21+
<action type="fix" dev="rbri">
1522
HtmlDetails.asNormalizedText() and HtmlDetails.asVisibleText() fixed.
1623
</action>
1724
<action type="add" dev="rbri" due-to="Uberto Barbini">

src/site/xdoc/filedownload-howto.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<p>
4848
HtmlUnit handles all unknown content similar to known content - the content is wrapped in an page object and the page is placed inside the window.
4949
For all unknown content HtmlUnit uses the UnexpectedPage. In most cases the UnexpectedPage replaces the current (Html)page in the current window,
50-
but in some cases a new additional window gets opend (e.g. clicking an anchor with a download attribute defined).
50+
but in some cases a new additional window gets opened (e.g. clicking an anchor with a download attribute defined).
5151
</p>
5252
<p>
5353
You can then access the plain content stream from the enclosed UnexpectedPage.
@@ -82,7 +82,7 @@ try (final WebClient webClient = new WebClient(BrowserVersion.FIREFOX)) {
8282
</p>
8383
<p>
8484
The AttachmentHandler based download support works in addition to the default UnexpectedPage based support. This means, if your AttachmentHandler
85-
does not handle the content, the webClient will fall back to the default solution and place an UnexpectedPage inside a new window.
85+
does not handle the content, the webClient will fall back to the default solution and place an UnexpectedPage inside the window.
8686
You can overwrite the method isAttachment() in your AttachmentHandler to only handle dedicated responses - the default implementation
8787
only detects responses having a content-disposition header of type 'attachment'.
8888
</p>

src/site/xdoc/index.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
<dl>
5858
<dt>Latest release <date>April 11, 2021</date></dt>
5959
<dd>
60-
<p><a href="https://sourceforge.net/projects/htmlunit/files/htmlunit/2.49.0/">version 2.49.0</a></p>
60+
<p><a href="https://sourceforge.net/projects/htmlunit/files/htmlunit/2.49.1/">version 2.49.1</a></p>
6161
</dd>
6262

6363
<dt>Source code</dt>
@@ -169,7 +169,7 @@
169169
<dependency>
170170
<groupId>net.sourceforge.htmlunit</groupId>
171171
<artifactId>htmlunit</artifactId>
172-
<version>2.49.0</version>
172+
<version>2.49.1</version>
173173
</dependency>]]></source>
174174
</p>
175175

0 commit comments

Comments
 (0)