This post is a request for the Stack Overflow team to use the internal link rewriting tool described in Meta Stack Exchange answer How to find and/or change a set of hyperlinks on a site? to bulk update Java Bug Database URLs in posts.
If you need this - and I'd consider anything over 100 links a need - post a feature-request on the appropriate site meta and we'll try & get it done.
The URL scheme for Java Bug Database links appears to have changed from http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6754672 to https://bugs.java.com/bugdatabase/view_bug?bug_id=6754672.
- http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6754672
+ https://bugs.java.com/bugdatabase/view_bug?bug_id=6754672
There is also an even older URL format of http://bugs.sun.com/view_bug.do?bug_id=6754672 in use on Stack Overflow.
Some URLs have an additional (unused) jsessionid
in the URL, e.g. http://bugs.sun.com/bugdatabase/view_bug.do;jsessionid=36649bcae69963754fe1bd095030?bug_id=4671142
. Ideally it would be removed, but if that isn't straightforward to do, it can be left in without causing any issues.
Apparent consensus reached in meta post (Bulk URL replacement for broken Java Bug Database hyperlinks in posts) discussing this is to update these links.
A search for "http://bugs.sun.com/bugdatabase/view_bug.do"
gives 474 results, which is large enough to request use of the tool, per the Meta Stack Exchange answer. Likewise, a search for "http://bugs.sun.com/view_bug.do"
gives 147 search results. Searching for this text within Markdown hyperlinks yields many more results: (Feature request: Rewrite Java Bug Database links).
Please run the link rewriter to update Java Bug Database URLs in questions and answers.
Specifically, make the following URL replacements:
http://bugs.sun.com/bugdatabase/view_bug.do
=>
https://bugs.java.com/bugdatabase/view_bug
http://bugs.sun.com/view_bug.do
=>
https://bugs.java.com/bugdatabase/view_bug
These links also appear on other Stack Exchange sites. Ideally we would fix links network-wide, rather than just for Stack Overflow.
http://bugs.sun.com/bugdatabase
to be changed fromhttp://bugs.sun.com/
tohttps://bugs.java.com
.http://bugs.sun.com/
, but nothttp://bugs.sun.com/bugdatabase
. What should be done with those?url:
in the search field. To find all occurrences, you need to search in all three ofurl:"http://bugs.sun.com/bugdatabase"
(1,252),"http://bugs.sun.com/bugdatabase"
(474), &code:"http://bugs.sun.com/bugdatabase"
(103).url:"http://bugs.sun.com/bugdatabase"
on other SE sites. Should these be changed on the other sites too? Presumably, they should also be changed on those sites.;jsessionid=[0-9a-f]+
for URLs that have it, or are we better off just leaving it in there?https://bugs.java.com/bugdatabase/view_bug;jsessionid=36649bcae69963754fe1bd095030?bug_id=4671142